Fix memory leak.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5393 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2010-11-10 18:04:15 +00:00
parent eba0571fb6
commit ce19e74134

View File

@ -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 (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);