Original Post
Does anyone know if there is a way to detect if your program is leaking memory?
Quote:
Original post by Saandman
If you're using C/C++ you could use the built in functions.
#define _CRTDBG_MAP_ALLOC
#include
#include
Then in the end:
_CrtDumpMemoryLeaks();
If you're involved in a larger project, you might want to check out payware memory leak detectors though.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more