changeset 15163:96f3a7286375

[gaim-migrate @ 17948] Unleak committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 10 Dec 2006 22:01:22 +0000
parents bface7451bd1
children fe05223b5d04
files gtk/gtkstatusbox.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkstatusbox.c	Sun Dec 10 14:45:27 2006 +0000
+++ b/gtk/gtkstatusbox.c	Sun Dec 10 22:01:22 2006 +0000
@@ -1301,8 +1301,8 @@
 	if (box->active_row) {
 		GtkTreePath *path = gtk_tree_row_reference_get_path(box->active_row);
 		GtkTreeSelection *sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (box->tree_view));
-		gtk_tree_selection_unselect_all(sel);
 		gtk_tree_selection_select_path(sel, path);
+		gtk_tree_path_free(path);
 	}
 }