diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/idevicepair.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/idevicepair.c b/tools/idevicepair.c index f34369e..b6f0751 100644 --- a/tools/idevicepair.c +++ b/tools/idevicepair.c @@ -104,6 +104,8 @@ static void parse_opts(int argc, char **argv) print_usage(argc, argv); exit(2); } + if (udid) + free(udid); udid = strdup(optarg); break; case 'd': |