ChristianLa91 / slimdx

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

BaseMesh::Intersects has memory leak? #713

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sorry for my bad english.

I use SlimDX(June 2010) and DirectX9.

My program calls BaseMesh.Intersects 3000 times per second.
I found used memory increase 100KB per second.

I think "allHits" should be released.

BaseMesh.cpp  line:314

else
{
    hits = Utilities::ReadRange<IntersectInformation>( allHits, count );
    allHits->Release();
}

Original issue reported on code.google.com by kagurasanagi@gmail.com on 17 Aug 2010 at 4:02

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

Original comment by Mike.Popoloski on 21 Aug 2010 at 4:23