libgimpbase: fix leak from commit 2f76be13cb.
This commit is contained in:
parent
63a57d68cb
commit
78de1080ce
1 changed files with 1 additions and 0 deletions
|
|
@ -205,6 +205,7 @@ gimp_choice_add (GimpChoice *choice,
|
|||
{
|
||||
choice->keys = g_list_remove_link (choice->keys, duplicate);
|
||||
g_free (duplicate->data);
|
||||
g_list_free (duplicate);
|
||||
}
|
||||
choice->keys = g_list_append (choice->keys, g_strdup (nick));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue