Kaydet (Commit) 924fc68c authored tarafından Frank Lanitz's avatar Frank Lanitz

Fix a memory leak on classbuilder plugin. (Patch by Daniel Marjamaki, thanks)

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4934 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst c1a17653
2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/classbuilder.c:
Fix a memory leak. (patch by Daniel Marjamaki, thanks)
2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/prefs.c, src/project.c:
......
......@@ -883,6 +883,7 @@ static gboolean create_class(CreateClassDialog *cc_dlg)
class_info->namespace_decl = g_strdup_printf("namespace %s;", tmp_str);
else
class_info->namespace_decl = g_strdup("");
g_free(tmp_str);
tmp_str = g_strdup(gtk_entry_get_text(GTK_ENTRY(cc_dlg->class_implements_entry)));
if (! utils_str_equal(tmp_str, ""))
......
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