summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorJonathan Blanchard <BlanchardJ@ieee.org>2011-03-16 16:11:20 +0100
committerTomas Bzatek <tbzatek@redhat.com>2011-03-16 16:11:20 +0100
commit5fb862503052a1c130121c4005bd7ff0a183ee43 (patch)
tree09a2e9961182fdfea4eef8ccbd40a2bbedc1e218 /client
parent16ebb08d4bbf841d85fc5ecd657e809b874d0fca (diff)
downloadgvfs-5fb862503052a1c130121c4005bd7ff0a183ee43.tar.gz
client: Fix wrong assignment before dbus_connection_unref()
https://bugzilla.gnome.org/show_bug.cgi?id=627881
Diffstat (limited to 'client')
-rw-r--r--client/gvfsdaemondbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gvfsdaemondbus.c b/client/gvfsdaemondbus.c
index fe9702e3..81fbfe0a 100644
--- a/client/gvfsdaemondbus.c
+++ b/client/gvfsdaemondbus.c
@@ -926,8 +926,8 @@ _g_dbus_connection_get_sync (const char *dbus_id,
return local->session_bus;
/* Session bus was disconnected, re-connect */
- local->session_bus = NULL;
dbus_connection_unref (local->session_bus);
+ local->session_bus = NULL;
}
}
else