summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/preflight.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/preflight.c b/src/preflight.c
index c40311c..b616e5f 100644
--- a/src/preflight.c
+++ b/src/preflight.c
@@ -134,9 +134,11 @@ retry:
if (strcmp(type, "com.apple.mobile.lockdown") != 0) {
// make restore mode devices visible
+ free(type);
client_device_add(info);
goto leave;
}
+ free(type);
int is_device_paired = 0;
char *host_id = NULL;