Issue #13189: free the slice with g_slice_free().
Even though this is mostly the same thing now, it's only true since GLib 2.76, yet our AppImage uses GLib 2.74.6. This explains why the chooser finalization was crashing plug-ins.
This commit is contained in:
parent
b56c59c92e
commit
cbd013d7b2
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ gimp_gradient_chooser_finalize (GObject *object)
|
|||
GimpGradientChooser *self = GIMP_GRADIENT_CHOOSER (object);
|
||||
|
||||
g_free (self->local_grad_data->data);
|
||||
g_free (self->local_grad_data);
|
||||
g_slice_free (GimpGradientPreviewData, self->local_grad_data);
|
||||
|
||||
/* chain up. */
|
||||
G_OBJECT_CLASS (gimp_gradient_chooser_parent_class)->finalize (object);
|
||||
|
|
|
|||
Loading…
Reference in a new issue