Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the catch.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5208 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
8707a1b1eb
commit
7313c3cbbf
@ -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>
|
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:
|
* src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
|
||||||
|
@ -996,7 +996,11 @@ static void process_build_output_line(const gchar *str, gint color)
|
|||||||
g_strchomp(msg);
|
g_strchomp(msg);
|
||||||
|
|
||||||
if (! NZV(msg))
|
if (! NZV(msg))
|
||||||
|
{
|
||||||
|
if (msg != NULL)
|
||||||
|
g_free(msg);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (build_parse_make_dir(msg, &tmp))
|
if (build_parse_make_dir(msg, &tmp))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user