summaryrefslogtreecommitdiff
path: root/src/nautilus-object-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-object-window.c')
-rw-r--r--src/nautilus-object-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nautilus-object-window.c b/src/nautilus-object-window.c
index 876647dcf..92866a31e 100644
--- a/src/nautilus-object-window.c
+++ b/src/nautilus-object-window.c
@@ -639,12 +639,14 @@ nautilus_window_get_arg (GtkObject *object,
}
}
-static void nautilus_window_destroy (NautilusWindow *window)
+static void
+nautilus_window_destroy (NautilusWindow *window)
{
NautilusWindowClass *klass = NAUTILUS_WINDOW_CLASS(GTK_OBJECT(window)->klass);
g_slist_free(window->meta_views);
- CORBA_free(window->ni);
+
+ Nautilus_NavigationInfo_free (window->ni);
CORBA_free(window->si);
g_slist_foreach(window->back_list, (GFunc)gtk_object_unref, NULL);
g_slist_foreach(window->forward_list, (GFunc)gtk_object_unref, NULL);