diff options
Diffstat (limited to 'mail/subscribe-dialog.c')
-rw-r--r-- | mail/subscribe-dialog.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c index 496a9f4c1d..ef1daa72f6 100644 --- a/mail/subscribe-dialog.c +++ b/mail/subscribe-dialog.c @@ -581,9 +581,17 @@ subscribe_dialog_gui_init (SubscribeDialog *sc) static void subscribe_dialog_destroy (GtkObject *object) { - SubscribeDialog *subscribe_dialog; + SubscribeDialog *sc; + + sc = SUBSCRIBE_DIALOG (object); + + gtk_object_unref (GTK_OBJECT (sc->listener)); + + bonobo_object_release_unref (sc->storage_set_control, NULL); + bonobo_object_release_unref (sc->storage_set_view, NULL); - subscribe_dialog = SUBSCRIBE_DIALOG (object); + e_tree_model_node_remove (sc->model, sc->root); + gtk_object_unref (GTK_OBJECT (sc->model)); subscribe_dialog_parent_class->destroy (object); } |