mirror of git://git.sysmocom.de/ofono
bluetooth: Reset adapter_any_path to NULL in unref
This commit is contained in:
parent
19aac08e32
commit
b7048692a7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue