bluetooth: Reset adapter_any_path to NULL in unref

This commit is contained in:
Denis Kenzior 2011-02-15 13:19:07 -06:00
parent 19aac08e32
commit b7048692a7
1 changed files with 1 additions and 0 deletions

View File

@ -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);