From 928d14291b48a6cdf432a2e0990c82da0d8c91a4 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 1 Dec 2002 04:12:34 +0000 Subject: [PATCH] free name during finalize. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@196 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/src/label-object.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5