diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-02-15 13:19:07 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-02-15 13:19:07 -0600 |
commit | b7048692a75b49bfc807e89f6f2f02b7dc2b86ea (patch) | |
tree | bfee5fad589cfc428592bd349f51c91d2abebb29 | |
parent | 19aac08e32238048ae6ee3e677c21778751a74b2 (diff) | |
download | ofono-b7048692a75b49bfc807e89f6f2f02b7dc2b86ea.tar.bz2 |
bluetooth: Reset adapter_any_path to NULL in unref
-rw-r--r-- | plugins/bluetooth.c | 1 |
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); |