Multiple quadro graphic cards in mosaic mode had a serious memory leak

We used four monitors and two quadra graphic cards. Each graphic card connected two monitors in mosaic mode.Our Application created and rendered IDirect3DSurface9 in c++ dynamic library. And then we display it with D3DImage in WPF. We found that it has serious memory leak. The official demo of Microsoft also has this phenomenon.The Operating System is windows 10. And the driver version which we tested are 385.90 and 388.43.

The following link is the official document of Microsoft’s demo.

We had create the project according to the above document.You can download from the following link.

I hope to get back as soon as possible. Thank you.