[gnumeric] GUI: Another list-store leak.



commit e02835c9e3dc90644751ff05274183bc781d21fb
Author: Morten Welinder <terra gnome org>
Date:   Fri Feb 25 15:58:58 2011 -0500

    GUI: Another list-store leak.

 src/dialogs/dialog-analysis-tool-kaplan-meier.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/dialogs/dialog-analysis-tool-kaplan-meier.c b/src/dialogs/dialog-analysis-tool-kaplan-meier.c
index 001330b..7b62cb6 100644
--- a/src/dialogs/dialog-analysis-tool-kaplan-meier.c
+++ b/src/dialogs/dialog-analysis-tool-kaplan-meier.c
@@ -506,6 +506,7 @@ dialog_kaplan_meier_tool_setup_treeview (KaplanMeierToolState *state)
 						 G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_OBJECT, G_TYPE_OBJECT);
 	state->groups_treeview = GTK_TREE_VIEW (gtk_tree_view_new_with_model
 						(GTK_TREE_MODEL (state->groups_list)));
+	g_object_unref (state->groups_list);
 	selection = gtk_tree_view_get_selection (state->groups_treeview);
 	gtk_tree_selection_set_mode (selection, GTK_SELECTION_SINGLE);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]