From d4d53931b63a7cb07d0ac675311089dc17b8331c Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 18 May 2006 17:40:55 +0000 Subject: [PATCH] histo destroy fix git-svn-id: http://ltt.polymtl.ca/svn@1828 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/gui/histogram/histodrawing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/modules/gui/histogram/histodrawing.c b/ltt/branches/poly/lttv/modules/gui/histogram/histodrawing.c index 39095ffb..173276f2 100644 --- a/ltt/branches/poly/lttv/modules/gui/histogram/histodrawing.c +++ b/ltt/branches/poly/lttv/modules/gui/histogram/histodrawing.c @@ -716,7 +716,7 @@ void histo_drawing_destroy(histoDrawing_t *drawing) if(drawing->gc != NULL) gdk_gc_unref(drawing->gc); - g_free(drawing->pango_layout); + g_object_unref(drawing->pango_layout); if(drawing->dotted_gc != NULL) gdk_gc_unref(drawing->dotted_gc); if(drawing->ruler_gc_butt != NULL) gdk_gc_unref(drawing->ruler_gc_butt); if(drawing->ruler_gc_round != NULL) gdk_gc_unref(drawing->ruler_gc_round); -- 2.34.1