devwaker / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Memory leak in SwapChain11::resetOffscreenTexture #454

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
-What steps will reproduce the problem?

In function SwapChain11::resetOffscreenTexture on line 268 the ref count of 
offscreenTextureResource is increased in the QueryInterface call, but 
offscreenTextureResource is never released, causing a leak reported by D3D11.

-What is the expected output? What do you see instead?

offscreenTextureResource->Release() should be called.

-What version of the product are you using? On what operating system?

Master branch trunk.

Original issue reported on code.google.com by Smp...@googlemail.com on 30 Jul 2013 at 10:31

GoogleCodeExporter commented 9 years ago

Original comment by shannonw...@chromium.org on 31 Jul 2013 at 5:12

GoogleCodeExporter commented 9 years ago
Fix landed at r23307051b9ba

Thanks for the report!

Original comment by shannonw...@chromium.org on 8 Aug 2013 at 8:08