Direct3D9Texture::isPixelFormatSupported leak
Posted: Tue Sep 10, 2019 14:55
Hello,
In function "Direct3D9Texture::isPixelFormatSupported" in Texture.cpp:
This code leaks because the d3d object is not released, which it should:
https://docs.microsoft.com/en-us/window ... etdirect3d
Thanks
In function "Direct3D9Texture::isPixelFormatSupported" in Texture.cpp:
Code: Select all
LPDIRECT3D9 d3d;
d_owner.getDevice()->GetDirect3D(&d3d);
This code leaks because the d3d object is not released, which it should:
https://docs.microsoft.com/en-us/window ... etdirect3d
Thanks