diff options
author | Nikias Bassen | 2013-10-08 23:18:18 +0200 |
---|---|---|
committer | Nikias Bassen | 2013-10-08 23:18:18 +0200 |
commit | 58e7581731f9baf42ebf80c1bde9780f6a4e1aab (patch) | |
tree | d1be25cb6ddf934add604762791c3295dfd2acc2 | |
parent | 386aa893056b3ca5caa20103389e7677b5f12b85 (diff) | |
download | usbmuxd-58e7581731f9baf42ebf80c1bde9780f6a4e1aab.tar.gz usbmuxd-58e7581731f9baf42ebf80c1bde9780f6a4e1aab.tar.bz2 |
preflight: plug small memory leak
-rw-r--r-- | src/preflight.c | 2 |
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; |