SF.net SVN: geany:[4149] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Thu Sep 3 12:14:59 UTC 2009
Revision: 4149
http://geany.svn.sourceforge.net/geany/?rev=4149&view=rev
Author: ntrel
Date: 2009-09-03 12:14:58 +0000 (Thu, 03 Sep 2009)
Log Message:
-----------
Fix 2 free's of possibly uninitialized pointers.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/build.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-09-03 12:04:27 UTC (rev 4148)
+++ trunk/ChangeLog 2009-09-03 12:14:58 UTC (rev 4149)
@@ -3,6 +3,8 @@
* src/treeviews.c, src/document.c, src/document.h, THANKS:
Enable type-ahead find for sidebar symbols and documents tabs
(patch by Thomas Martitz, thanks).
+ * src/build.c:
+ Fix 2 free's of possibly uninitialized pointers.
2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
Modified: trunk/src/build.c
===================================================================
--- trunk/src/build.c 2009-09-03 12:04:27 UTC (rev 4148)
+++ trunk/src/build.c 2009-09-03 12:14:58 UTC (rev 4149)
@@ -498,9 +498,9 @@
static gchar* build_replace_placeholder(const GeanyDocument* doc, const gchar* src)
{
GString* stack;
- gchar* filename;
+ gchar* filename = NULL;
gchar* replacement;
- gchar* executable;
+ gchar* executable = NULL;
gchar* ret_str; /* to be freed when not in use anymore */
stack = g_string_new(src);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list