summaryrefslogtreecommitdiff
path: root/src/nautilus-spatial-window.h
diff options
context:
space:
mode:
authorMaciej Stachowiak <mstachow@src.gnome.org>2000-03-05 12:32:04 +0000
committerMaciej Stachowiak <mstachow@src.gnome.org>2000-03-05 12:32:04 +0000
commit57ee999c6d9730becd2d460eedb5aa757808a255 (patch)
tree0c712410e766aaebbe167a1edc4763f41b80d5b6 /src/nautilus-spatial-window.h
parentaa399a9b1dde9b19e444c014846a4b8d235a116e (diff)
downloadnautilus-57ee999c6d9730becd2d460eedb5aa757808a255.tar.gz
Handle freeing of window->ni in a fancier way to avoid double-free
* src/ntl-window-msgs.c (nautilus_window_update_internals): Handle freeing of window->ni in a fancier way to avoid double-free problems which were causing crashes after some amount of view switching and navigation. It might leak memory but it's the only obvious way to avoid crashing. * src/ntl-window.c (nautilus_window_destroy): Likewise to avoid crashing on exit. * src/ntl-window.h (Nautilus_NavigationInfo_free): Prototype this function.
Diffstat (limited to 'src/nautilus-spatial-window.h')
-rw-r--r--src/nautilus-spatial-window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nautilus-spatial-window.h b/src/nautilus-spatial-window.h
index 73de38aa7..026f29e59 100644
--- a/src/nautilus-spatial-window.h
+++ b/src/nautilus-spatial-window.h
@@ -133,4 +133,7 @@ void nautilus_window_allow_stop (NautilusWindow *window, gboolean allow);
void nautilus_bookmarks_exiting (void);
+void Nautilus_NavigationInfo_free (Nautilus_NavigationInfo *ni);
+
+
#endif