Jump to content
  • Advertisement
Sign in to follow this  

[.net] [MDX] Memory leak on exit

This topic is 4171 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!