[SDL] - Any Memory leak checking tool

Started by
3 comments, last by DMINATOR 17 years, 8 months ago
Hi Does any one know any good free tool for checking memory leaks with SDL. I tried crtdbg from Microsoft, but it doesn't show any leaks, after program closing I have also tried mmgr, but it seems that some sdl functions are missing. So how are you checking memory leaks with SDL :) ?
Advertisement
Well, I have used SDL and mmgr successfully before. So, where's your problem with it? Do you include mmgr after you include sdl?

Or do you want to check SDL itself for memory leaks?
Quote:Original post by Ludi83
Well, I have used SDL and mmgr successfully before. So, where's your problem with it? Do you include mmgr after you include sdl?

Or do you want to check SDL itself for memory leaks?


First it says that there is no "stdafx.h", and then after I comment it, it says that there is no such function std::set_set_new_handler(0);
about 40 lines into mmgr.cpp is this:

// NOTES:
//
// 1. If you get compiler errors having to do with set_new_handler, then go through this source and search/replace
// "std::set_new_handler" with "set_new_handler".

though I'm not sure if that will help.
Quote:Original post by lonesock
about 40 lines into mmgr.cpp is this:

// NOTES:
//
// 1. If you get compiler errors having to do with set_new_handler, then go through this source and search/replace
// "std::set_new_handler" with "set_new_handler".

though I'm not sure if that will help.


Thanks, I haven't seen that line :)

This topic is closed to new replies.

Advertisement