[gvfs] client: Fix wrong assignment before dbus_connection_unref()
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] client: Fix wrong assignment before dbus_connection_unref()
- Date: Wed, 16 Mar 2011 15:15:43 +0000 (UTC)
commit 5fb862503052a1c130121c4005bd7ff0a183ee43
Author: Jonathan Blanchard <BlanchardJ ieee org>
Date: Wed Mar 16 16:11:20 2011 +0100
client: Fix wrong assignment before dbus_connection_unref()
https://bugzilla.gnome.org/show_bug.cgi?id=627881
client/gvfsdaemondbus.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/client/gvfsdaemondbus.c b/client/gvfsdaemondbus.c
index fe9702e..81fbfe0 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]