Plug leak.
2008-06-20 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimpfreeselecttool.c (gimp_free_select_tool_finalize): Plug leak. svn path=/trunk/; revision=25966
This commit is contained in:

committed by
Martin Nordholts

parent
f53e9a45db
commit
4de401f623
@ -1,3 +1,8 @@
|
|||||||
|
2008-06-20 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
|
||||||
|
* app/tools/gimpfreeselecttool.c (gimp_free_select_tool_finalize):
|
||||||
|
Plug leak.
|
||||||
|
|
||||||
2008-06-20 Michael Natterer <mitch@gimp.org>
|
2008-06-20 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
Latest GTK+ trunk deprecations showed some uglyness in gimp:
|
Latest GTK+ trunk deprecations showed some uglyness in gimp:
|
||||||
|
@ -266,10 +266,7 @@ gimp_free_select_tool_finalize (GObject *object)
|
|||||||
Private *priv = GET_PRIVATE (fst);
|
Private *priv = GET_PRIVATE (fst);
|
||||||
|
|
||||||
g_free (priv->points);
|
g_free (priv->points);
|
||||||
|
g_free (priv->segment_indices);
|
||||||
priv->points = NULL;
|
|
||||||
priv->n_points = 0;
|
|
||||||
priv->max_n_points = 0;
|
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user