Mercurial > pidgin
diff pidgin/gtksavedstatuses.c @ 22087:d943df776c09
It turns out the tree-models need to be unref'ed.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 12 Jan 2008 14:44:12 +0000 |
parents | 1690d040addd |
children | cc8903c59d6b |
line wrap: on
line diff
--- a/pidgin/gtksavedstatuses.c Sat Jan 12 07:48:38 2008 +0000 +++ b/pidgin/gtksavedstatuses.c Sat Jan 12 14:44:12 2008 +0000 @@ -669,6 +669,7 @@ purple_request_close_with_handle(status_window); purple_notify_close_with_handle(status_window); purple_signals_disconnect_by_handle(status_window); + g_object_unref(G_OBJECT(status_window->model)); g_free(status_window); status_window = NULL; } @@ -723,6 +724,7 @@ status_editor_remove_dialog(dialog); g_free(dialog->original_title); + g_object_unref(G_OBJECT(dialog->model)); g_free(dialog); return FALSE;