diff options
Diffstat (limited to 'tools/idevicepair.c')
| -rw-r--r-- | tools/idevicepair.c | 3 |
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) | |||
| 148 | userpref_get_paired_uuids(&uuids, &count); | 148 | userpref_get_paired_uuids(&uuids, &count); |
| 149 | for (i = 0; i < count; i++) { | 149 | for (i = 0; i < count; i++) { |
| 150 | printf("%s\n", uuids[i]); | 150 | printf("%s\n", uuids[i]); |
| 151 | free(uuids[i]); | ||
| 151 | } | 152 | } |
| 152 | if (uuids) | 153 | if (uuids) |
| 153 | g_strfreev(uuids); | 154 | free(uuids); |
| 154 | if (uuid) | 155 | if (uuid) |
| 155 | free(uuid); | 156 | free(uuid); |
| 156 | return EXIT_SUCCESS; | 157 | return EXIT_SUCCESS; |
