Memory leaks
Is there an easy way of detecting where the allocation of the memory reported as a leak by _CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF ) occured?
I have 500 bytes leaking and it bugs the hell out of me. I want to remove them so I can see if any new leaks occurs + it seems like the right thing to do.
[Insert cool signature here]
http://www.gamedev.net/community/forums/topic.asp?topic_id=68645
http://www.gamedev.net/community/forums/topic.asp?topic_id=75332
http://www.gamedev.net/community/forums/topic.asp?topic_id=71992
Searching the forums before posting is considered a good thing to do. Basically the overloading of new is slightly bugged in the CRT so you need to overload new in a macro which gets the file and line number...
--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com
http://www.gamedev.net/community/forums/topic.asp?topic_id=75332
http://www.gamedev.net/community/forums/topic.asp?topic_id=71992
Searching the forums before posting is considered a good thing to do. Basically the overloading of new is slightly bugged in the CRT so you need to overload new in a macro which gets the file and line number...
--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement