[Geany-devel] [Patch] memory leak in src/build.c

Erik de Castro Lopo mle+tools at xxxxx
Thu Sep 9 00:59:37 UTC 2010


Frank Lanitz wrote:

> Thanks for the finding. I've committed to svn, but added a
> NULL-check just to be sure. 

The NULL check is un-necessary:

    http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Devel mailing list