summaryrefslogtreecommitdiffstats
path: root/tools/idevicedevmodectl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicedevmodectl.c')
-rw-r--r--tools/idevicedevmodectl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicedevmodectl.c b/tools/idevicedevmodectl.c
index 9997cf3..bd1de6a 100644
--- a/tools/idevicedevmodectl.c
+++ b/tools/idevicedevmodectl.c
@@ -389,6 +389,7 @@ int main(int argc, char *argv[])
389 389
390 if ((op == OP_ENABLE || op == OP_ARM) && dev_mode_status) { 390 if ((op == OP_ENABLE || op == OP_ARM) && dev_mode_status) {
391 if (dev_mode_status) { 391 if (dev_mode_status) {
392 idevice_free(device);
392 printf("DeveloperMode is already enabled.\n"); 393 printf("DeveloperMode is already enabled.\n");
393 return 0; 394 return 0;
394 } 395 }