[Geany-devel] [Patch] memory leak in src/build.c
Frank Lanitz
frank at xxxxx
Thu Sep 9 01:09:59 UTC 2010
On Thu, 9 Sep 2010 10:59:37 +1000
Erik de Castro Lopo <mle+tools at mega-nerd.com> wrote:
> 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
Well, ok. I had some bad experience in past with freeing memory so I
started doing this. But based on documentation you are right and I did
remove these check.
Thanks,
Frank
--
http://frank.uvena.de/en/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100909/01dcc1f1/attachment.pgp>
More information about the Devel
mailing list