summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lockdown.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lockdown.c b/src/lockdown.c
index 3e9164c..26af6a6 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -705,7 +705,6 @@ static lockdownd_error_t lockdownd_client_reconnect(idevice_t device, lockdownd_
{
lockdownd_error_t ret = LOCKDOWN_E_SUCCESS;
int attempts = 3;
- char *udid = NULL;
/* free resources of lockownd_client */
ret = lockdownd_client_free_simple(*client);
@@ -722,9 +721,6 @@ static lockdownd_error_t lockdownd_client_reconnect(idevice_t device, lockdownd_
sleep(1);
} while(attempts--);
- free(udid);
- udid = NULL;
-
return ret;
}