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

Fix memory leak.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5393 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst eba0571f
...@@ -1112,7 +1112,7 @@ static void load_settings(gint ft_id, GKeyFile *config, GKeyFile *configh) ...@@ -1112,7 +1112,7 @@ static void load_settings(gint ft_id, GKeyFile *config, GKeyFile *configh)
if (result == NULL) result = g_key_file_get_string(config, "settings", "context_action_cmd", NULL); if (result == NULL) result = g_key_file_get_string(config, "settings", "context_action_cmd", NULL);
if (G_LIKELY(result != NULL)) if (G_LIKELY(result != NULL))
{ {
filetypes[ft_id]->context_action_cmd = result; setptr(filetypes[ft_id]->context_action_cmd, result);
} }
result = utils_get_setting_string(configh, "settings", "tag_parser", NULL); result = utils_get_setting_string(configh, "settings", "tag_parser", NULL);
......
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