summaryrefslogtreecommitdiffstats
path: root/tools/idevicepair.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicepair.c')
-rw-r--r--tools/idevicepair.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/idevicepair.c b/tools/idevicepair.c
index b9676b9..9eebc5c 100644
--- a/tools/idevicepair.c
+++ b/tools/idevicepair.c
@@ -148,9 +148,10 @@ int main(int argc, char **argv)
userpref_get_paired_uuids(&uuids, &count);
for (i = 0; i < count; i++) {
printf("%s\n", uuids[i]);
+ free(uuids[i]);
}
if (uuids)
- g_strfreev(uuids);
+ free(uuids);
if (uuid)
free(uuid);
return EXIT_SUCCESS;