PsppireDataEditor: unref objects on dispose
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 19 Apr 2017 11:59:02 +0000 (13:59 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 19 Apr 2017 11:59:02 +0000 (13:59 +0200)
src/ui/gui/psppire-data-editor.c

index 0caf5dbdaea30d32d9f1d32152ca335e31803b28..4228c89cb41d23c3d7d635ad126188783fe79094 100644 (file)
@@ -307,6 +307,10 @@ psppire_data_editor_dispose (GObject *obj)
       de->font = NULL;
     }
 
+  g_object_unref (de->value_label_renderer);
+  g_object_unref (de->missing_values_renderer);
+  g_object_unref (de->var_type_renderer);
+
   /* Chain up to the parent class */
   G_OBJECT_CLASS (parent_class)->dispose (obj);
 }