Jump to content
  • Advertisement
Sign in to follow this  

[.net] [MDX] Memory leak on exit

This topic is 4253 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!