]> git.sur5r.net Git - glabels/commitdiff
free name during finalize.
authorJim Evins <evins@snaught.com>
Sun, 1 Dec 2002 04:12:34 +0000 (04:12 +0000)
committerJim Evins <evins@snaught.com>
Sun, 1 Dec 2002 04:12:34 +0000 (04:12 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@196 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/label-object.c

index 03cc4714014536f4f00cac1a6517e1544db94892..1a4e1969a7035a8657fce5133417ff4784aebc6f 100644 (file)
@@ -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);