[SDL] ot - memory leaks

Jacek Poplawski jacekpoplawski at gmail.com
Thu Aug 2 08:12:51 PDT 2007


On 8/2/07, neil at cloudsprinter.com <neil at cloudsprinter.com> wrote:
>
> the only thing letting it down now is memory leaks, ive been poking around
> a bit
> on google, but all articles i can find on the subject are a bit vauge.. if
> someone can point me to a good resource about what will cause a memory
> leak and
> what needs doing where and when to prevent them i would appreciate it.


Run valgrind on your application (http://valgrind.org/).
However, I always (even on almost empty application) have some SDL-related
valgrind errors.
Like the one when setting video mode.


-- 
Free Software - find interesting programs and change them
NetHack - meet interesting creatures, kill them and eat their bodies
Usenet - meet interesting people from all over the world and flame them
Decopter - unrealistic helicopter simulator, get it from
http://decopter.sf.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/private.cgi/sdl-libsdl.org/attachments/20070802/26b16608/attachment.htm 


More information about the SDL mailing list