summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-04 15:39:09 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-04 15:39:09 +0000
commit56831d1659d7c08a0f1cb7bbc9161e5e9a2a9726 (patch)
tree0e63c0d0963b5c27689b0e77711584b8a3f2038d
parentdedc8694d214e0b17eaa3d4d28dd667638e8c563 (diff)
downloadmandi-56831d1659d7c08a0f1cb7bbc9161e5e9a2a9726.tar
mandi-56831d1659d7c08a0f1cb7bbc9161e5e9a2a9726.tar.gz
mandi-56831d1659d7c08a0f1cb7bbc9161e5e9a2a9726.tar.bz2
mandi-56831d1659d7c08a0f1cb7bbc9161e5e9a2a9726.tar.xz
mandi-56831d1659d7c08a0f1cb7bbc9161e5e9a2a9726.zip
unref shared dbus connection instead of closing it
-rw-r--r--src/mandi_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mandi_daemon.c b/src/mandi_daemon.c
index 222025e..da7136e 100644
--- a/src/mandi_daemon.c
+++ b/src/mandi_daemon.c
@@ -154,7 +154,7 @@ static void mandi_daemon_exit(mandi_daemon_t *daemon, int exit_code) {
plugin->deinit(plugin, daemon->bus);
}
if (daemon->bus)
- dbus_connection_close(daemon->bus);
+ dbus_connection_unref(daemon->bus);
exit(exit_code);
}