summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/bluetooth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index a2ea8472..175ebaa6 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -818,6 +818,7 @@ static void bluetooth_unref(void)
return;
g_free(adapter_any_path);
+ adapter_any_path = NULL;
g_dbus_remove_watch(connection, bluetooth_watch);
g_dbus_remove_watch(connection, adapter_added_watch);