summaryrefslogtreecommitdiffstats
path: root/src/lockdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lockdown.c')
-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_
705{ 705{
706 lockdownd_error_t ret = LOCKDOWN_E_SUCCESS; 706 lockdownd_error_t ret = LOCKDOWN_E_SUCCESS;
707 int attempts = 3; 707 int attempts = 3;
708 char *udid = NULL;
709 708
710 /* free resources of lockownd_client */ 709 /* free resources of lockownd_client */
711 ret = lockdownd_client_free_simple(*client); 710 ret = lockdownd_client_free_simple(*client);
@@ -722,9 +721,6 @@ static lockdownd_error_t lockdownd_client_reconnect(idevice_t device, lockdownd_
722 sleep(1); 721 sleep(1);
723 } while(attempts--); 722 } while(attempts--);
724 723
725 free(udid);
726 udid = NULL;
727
728 return ret; 724 return ret;
729} 725}
730 726