mirror of https://github.com/GNOME/gimp.git
don't g_free() static strings (happened if gimprc.last_opened_size > 9,
2002-08-21 Michael Natterer <mitch@gimp.org> * app/gui/menus.c (menus_last_opened_add): don't g_free() static strings (happened if gimprc.last_opened_size > 9, fixes #85795).
This commit is contained in:
parent
5103c495fb
commit
728778ca32
|
@ -1,3 +1,8 @@
|
|||
2002-08-21 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gui/menus.c (menus_last_opened_add): don't g_free() static
|
||||
strings (happened if gimprc.last_opened_size > 9, fixes #85795).
|
||||
|
||||
2002-08-21 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimpimage-mask-select.c: call gimp_image_mask_changed()
|
||||
|
|
|
@ -2544,7 +2544,9 @@ menus_last_opened_add (GimpItemFactory *item_factory,
|
|||
for (i = 0; i < gimprc.last_opened_size; i++)
|
||||
{
|
||||
g_free (last_opened_entries[i].entry.path);
|
||||
g_free (last_opened_entries[i].entry.accelerator);
|
||||
|
||||
if (i < 9)
|
||||
g_free (last_opened_entries[i].entry.accelerator);
|
||||
}
|
||||
|
||||
g_free (last_opened_entries);
|
||||
|
|
|
@ -2544,7 +2544,9 @@ menus_last_opened_add (GimpItemFactory *item_factory,
|
|||
for (i = 0; i < gimprc.last_opened_size; i++)
|
||||
{
|
||||
g_free (last_opened_entries[i].entry.path);
|
||||
g_free (last_opened_entries[i].entry.accelerator);
|
||||
|
||||
if (i < 9)
|
||||
g_free (last_opened_entries[i].entry.accelerator);
|
||||
}
|
||||
|
||||
g_free (last_opened_entries);
|
||||
|
|
Loading…
Reference in New Issue