From 58e7581731f9baf42ebf80c1bde9780f6a4e1aab Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 8 Oct 2013 23:18:18 +0200 Subject: preflight: plug small memory leak --- src/preflight.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.1-32-gdbae