---
 plugins/bluetooth.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index ce6dcae..52bf71f 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -434,8 +434,10 @@ static gboolean properties_changed(DBusConnection *conn, 
DBusMessage *msg,
         * create the modem properly, including Adapter and
         * Alias, so refetch everything again
         */
-       if (uuids)
+       if (uuids) {
                get_device_properties(path);
+               g_slist_free(uuids);
+       }
 
        if (alias) {
                GHashTableIter hash_iter;
-- 
1.7.11.7

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to