Welcome! Log In Create A New Profile

Advanced

C++ Question

Posted by profetylen 
C++ Question
July 03, 2009 06:00PM
Will memory leaks go away when I return to the HBC?

I did think they did go away until I read from a random source of a random game things like this:

free(img_santa);
free(img_elk);
GRRLIB_Exit();
exit(0);
Re: C++ Question
July 03, 2009 06:07PM
They do, but it's still considered good practice to clear up your own mess, you might be doing something important while the cleanup runs!
Re: C++ Question
July 03, 2009 07:03PM
Okay! Thanks!
Sorry, only registered users may post in this forum.

Click here to login