From: compudj Date: Thu, 18 May 2006 17:40:55 +0000 (+0000) Subject: histo destroy fix X-Git-Tag: v0.12.20~1661 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d4d53931b63a7cb07d0ac675311089dc17b8331c;p=lttv.git histo destroy fix git-svn-id: http://ltt.polymtl.ca/svn@1828 04897980-b3bd-0310-b5e0-8ef037075253 --- 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);