summaryrefslogtreecommitdiffstats
path: root/serial
diff options
context:
space:
mode:
Diffstat (limited to 'serial')
-rw-r--r--serial/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/port.c b/serial/port.c
index 311d38f0..c722dde4 100644
--- a/serial/port.c
+++ b/serial/port.c
@@ -395,7 +395,7 @@ int port_unregister(const char *path)
if (!node)
return -ENOENT;
- dbus_connection_destroy_object_path(node->conn, path);
+ g_dbus_unregister_interface(node->conn, path, SERIAL_PORT_INTERFACE);
return 0;
}