[.net] [MDX] Memory leak on exit

Started by
0 comments, last by Headkaze 17 years ago
I'm getting the following memory leak when I exit my application.
Direct3D9: :====> ENTER: DLLMAIN(03d6e6e0): Process Detach 00000f74, tid=00000610
Direct3D9: (INFO) :MemFini!
Direct3D9: (WARN) :Memory still allocated!  Alloc count = 149
Direct3D9: (WARN) :Current Process (pid) = 00000f74
Razor.exe has triggered a breakpoint
Direct3D9: (WARN) :Memory Address: 003b5698 lAllocID=1 dwSize=000047f8, (pid=00000f74)
Direct3D9: (WARN) :  Stack Back Trace
I set "Break On AllocID" to 1 in the DX Debug properties and it's breaking on the line..
m_displayMode = Manager.Adapters[m_adapter].CurrentDisplayMode;
How could this be an allocation, and how can I deallocate the memory used by this line?
Advertisement
Oops, nevermind, I forgot to dispose of the main DirectX device.

This topic is closed to new replies.

Advertisement