histo destroy fix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 18 May 2006 17:40:55 +0000 (17:40 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 18 May 2006 17:40:55 +0000 (17:40 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1828 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/histogram/histodrawing.c

index 39095ffbfa6565e1dfb2a4a8c7c884e04720e80c..173276f2b7d31937c3da5078c991a8cffea6ef3a 100644 (file)
@@ -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);
This page took 0.026434 seconds and 4 git commands to generate.