Fix invalid free (oops)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5613 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
a48fb8b2d5
commit
05ab6c3c53
@ -1120,7 +1120,7 @@ static void load_settings(gint ft_id, GKeyFile *config, GKeyFile *configh)
|
||||
else if (! NZV(filetypes[ft_id]->comment_close))
|
||||
{
|
||||
setptr(filetypes[ft_id]->comment_single, filetypes[ft_id]->comment_open);
|
||||
setptr(filetypes[ft_id]->comment_open, NULL);
|
||||
filetypes[ft_id]->comment_open = NULL;
|
||||
}
|
||||
|
||||
tmp = g_key_file_get_boolean(configh, "settings", "comment_use_indent", &error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user