summaryrefslogtreecommitdiffstats
path: root/src/adapter.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-10 13:49:44 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-10 13:49:44 +0200
commit0e073403c77dd0906cd89dbd2d2b6707f4493188 (patch)
tree570c81647631a5faf5acbd733efb462b526387ba /src/adapter.c
parent9ffbfb5e9db21cba81ac8af6d2c170882e00b17c (diff)
Fix uuid list allocation and freeing bug exposed by previous mem leak fix
Diffstat (limited to 'src/adapter.c')
-rw-r--r--src/adapter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/adapter.c b/src/adapter.c
index f983069e..c2304e99 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2295,6 +2295,7 @@ static void create_stored_device_from_profiles(char *key, char *value,
device_probe_drivers(device, uuids);
+ g_slist_foreach(uuids, (GFunc) g_free, NULL);
g_slist_free(uuids);
}