From 4bf06e9d9eaea15b4e0f251571877da985901bf4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 3 Jun 2008 15:52:51 +0000 Subject: Replace destroy function with proper unregister call --- hcid/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcid/device.c b/hcid/device.c index dc3e1c20..88f412c6 100644 --- a/hcid/device.c +++ b/hcid/device.c @@ -1052,7 +1052,7 @@ void device_remove(struct device *device, DBusConnection *conn) { debug("Removing device %s", device->path); - dbus_connection_destroy_object_path(conn, device->path); + g_dbus_unregister_interface(conn, device->path, DEVICE_INTERFACE); } gint device_address_cmp(struct device *device, const gchar *address) -- cgit