[nautilus/gnome-3-8] application: Add missing unref for NautilusFile used in network connections.
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-8] application: Add missing unref for NautilusFile used in network connections.
- Date: Thu, 1 May 2014 22:50:41 +0000 (UTC)
commit 482f21f1383416636123fb9831fda1d1dbbb8b35
Author: Robert Ancell <robert ancell canonical com>
Date: Fri May 2 10:26:44 2014 +1200
application: Add missing unref for NautilusFile used in network connections.
This was introduced in commit 95d42ea01f7f9c60210b415554e7bbf6f4e1b334 and released in 3.5.91.
The error meant that when a network location was disconnected the next time you connected to it you would
get the old NautilusFile object that was marked as "gone" and hit an assertion.
https://bugzilla.gnome.org/show_bug.cgi?id=708282
src/nautilus-application.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 6c8451e..616e00a 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -785,6 +785,7 @@ go_to_server_cb (NautilusWindow *window,
g_bookmark_file_to_file (bookmarks, filename, NULL);
}
+ nautilus_file_unref (file);
g_free (filename);
g_bookmark_file_free (bookmarks);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]