[SDL] ot - memory leaks

neil at cloudsprinter.com neil at cloudsprinter.com
Sat Aug 4 12:17:57 PDT 2007


> I use a simple memory manager for C code to catch memory leaks. Not 
> fancy, but
> it fits my needs. I've packaged it for anyone who might be interested. You
> can download the 16KB zip file from
>
> http://home.pacbell.net/theposts/memmgr.zip
>
thanks for this, i'll take a look, but i guess what i really need to do is go
and find a big fat book on C at the library, because i still dont really quite
get using the malloc stuff, so don't because it scares me ;)

i have been sttempting to use free() but it all seems very obscure, 
someimes it
works, sometimes it dosnt. but i'm sure that's all my fault ;)

i might just hunt around for some properly written SDL programs and learn from
other peoples stuff.. so if anyone can think of a tight piece of SDL 
code i can
peek n poke let me know.

right now i'm just gonna concentrate on getting the game to how i want and go
about memory leaks when i'm finished.



More information about the SDL mailing list