Welcome!
Log In
Create A New Profile
Home
>
Coding
>
Coding
> Topic
Advanced
C++ Question
Posted by
profetylen
Forum List
Message List
New Topic
profetylen
C++ Question
July 03, 2009 06:00PM
Registered: 15 years ago
Posts: 384
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);
Reply
Quote
henke37
Re: C++ Question
July 03, 2009 06:07PM
Registered: 15 years ago
Posts: 265
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!
Reply
Quote
profetylen
Re: C++ Question
July 03, 2009 07:03PM
Registered: 15 years ago
Posts: 384
Okay! Thanks!
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login