Kaydet (Commit) 388891af authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix 2 free's of possibly uninitialized pointers.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4149 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst a4eec38f
......@@ -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>
......
......@@ -498,9 +498,9 @@ static void parse_build_output(const gchar **output, gint status)
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment