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:
Martin Nordholts
2008-06-20 11:23:09 +00:00
committed by Martin Nordholts
parent f53e9a45db
commit 4de401f623
2 changed files with 6 additions and 4 deletions

View File

@ -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>
Latest GTK+ trunk deprecations showed some uglyness in gimp:

View File

@ -266,10 +266,7 @@ gimp_free_select_tool_finalize (GObject *object)
Private *priv = GET_PRIVATE (fst);
g_free (priv->points);
priv->points = NULL;
priv->n_points = 0;
priv->max_n_points = 0;
g_free (priv->segment_indices);
G_OBJECT_CLASS (parent_class)->finalize (object);
}