Revision: 5208 http://geany.svn.sourceforge.net/geany/?rev=5208&view=rev Author: frlan Date: 2010-09-09 00:42:19 +0000 (Thu, 09 Sep 2010)
Log Message: ----------- Fix a memory leak. Based on input by Daniel Marjam?\195?\164ki. Thanks for the catch.
Modified Paths: -------------- trunk/ChangeLog trunk/src/build.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-09-08 15:57:06 UTC (rev 5207) +++ trunk/ChangeLog 2010-09-09 00:42:19 UTC (rev 5208) @@ -1,3 +1,10 @@ +2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> + + * src/build.c: + Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the + catch. + + 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
Modified: trunk/src/build.c =================================================================== --- trunk/src/build.c 2010-09-08 15:57:06 UTC (rev 5207) +++ trunk/src/build.c 2010-09-09 00:42:19 UTC (rev 5208) @@ -996,7 +996,11 @@ g_strchomp(msg);
if (! NZV(msg)) + { + if (msg != NULL) + g_free(msg); return; + }
if (build_parse_make_dir(msg, &tmp)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.