From: Jim Evins Date: Sun, 1 Dec 2002 04:12:34 +0000 (+0000) Subject: free name during finalize. X-Git-Tag: glabels-2_3_0~691 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=928d14291b48a6cdf432a2e0990c82da0d8c91a4;p=glabels free name during finalize. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@196 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/src/label-object.c b/glabels2/src/label-object.c index 03cc4714..1a4e1969 100644 --- a/glabels2/src/label-object.c +++ b/glabels2/src/label-object.c @@ -187,6 +187,7 @@ gl_label_object_finalize (GObject *object) parent = GL_LABEL_OBJECT(object)->parent; gl_label_remove_object (parent, GL_LABEL_OBJECT(object)); + g_free (GL_LABEL_OBJECT(object)->private->name); g_free (GL_LABEL_OBJECT(object)->private); G_OBJECT_CLASS (parent_class)->finalize (object);