summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-10-18 08:31:12 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-10-18 08:31:12 +0000
commitea53e82f61878ff876e997063761baa5648ef6e2 (patch)
tree7aa406d962d7a0ae68e9857cf001dc52149d9f95 /hcid/dbus.c
parentd544342b190eabf0703218169c1248f3905b09b1 (diff)
Use dbus_connection_unref() instead of dbus_connection_close()
Diffstat (limited to 'hcid/dbus.c')
-rw-r--r--hcid/dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus.c b/hcid/dbus.c
index 59760bca..d650ea5f 100644
--- a/hcid/dbus.c
+++ b/hcid/dbus.c
@@ -1962,7 +1962,7 @@ void hcid_dbus_exit(void)
done:
unregister_dbus_path(BASE_PATH);
- dbus_connection_close(connection);
+ dbus_connection_unref(connection);
}
/*****************************************************************