Jump to content
  • Advertisement
Sign in to follow this  

[SDL] - Any Memory leak checking tool

This topic is 4301 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

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 :) ?

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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);

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 :)

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!