From b7048692a75b49bfc807e89f6f2f02b7dc2b86ea Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 15 Feb 2011 13:19:07 -0600 Subject: bluetooth: Reset adapter_any_path to NULL in unref --- plugins/bluetooth.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') 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); -- cgit v1.2.3