Kaydet (Commit) 64a6c470 authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix g_strconcat leaks in utils_make_settings_dir().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1176 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 4fa9eb2e
......@@ -8,6 +8,8 @@
* src/treeviews.c, src/document.c:
Don't select the current document when reordering tabs (fixes
#1632708).
* src/utils.c:
Fix g_strconcat leaks in utils_make_settings_dir().
2007-01-11 Nick Treleaven <nick.treleaven@btinternet.com>
......
......@@ -820,8 +820,8 @@ gint utils_make_settings_dir(const gchar *dir, const gchar *data_dir, const gcha
"the documentation (in ", doc_dir, "index.html or visit " GEANY_HOMEPAGE ").", NULL);
utils_write_file(filedefs_readme, text);
g_free(text);
g_free(filedefs_readme);
}
g_free(filedefs_readme);
}
// make subdir for template files
......@@ -846,8 +846,8 @@ For more information read the documentation (in ", doc_dir, "index.html or visit
NULL);
utils_write_file(templates_readme, text);
g_free(text);
g_free(templates_readme);
}
g_free(templates_readme);
}
g_free(filedefs_dir);
......
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