Villacaleb / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

Memory corruption caused by D3D9 include interface #695

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

apparently rev 1240 introduced a memory problem in direct3d9/Include.cpp. In 
rev 1239 IncludeShim::Close(.) uses pop followed by some cleanup. rev 1240 does 
not pop the current frame, but performs cleanup. As outcome cleanup is 
performed twice because the destructor performs close as well.

Since the problem seems to be non deterministic i can't tell you how to 
reproduce the bug - nevertheless it seems pretty obvious to me.
my (quick, hacky) fix is based on rev 1332.

Original issue reported on code.google.com by haraldst...@gmail.com on 5 Jul 2010 at 5:22

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1641.

Original comment by Mike.Popoloski on 30 Aug 2010 at 4:08