summaryrefslogtreecommitdiffstats
path: root/src/iphone.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iphone.c')
-rw-r--r--src/iphone.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/iphone.c b/src/iphone.c
index b796180..d8bb9ae 100644
--- a/src/iphone.c
+++ b/src/iphone.c
@@ -96,7 +96,6 @@ iPhone *get_iPhone() {
if (bytes < 20) {
free(version);
free_iPhone(phone);
- free(version);
if (debug) fprintf(stderr, "get_iPhone(): Invalid version message -- header too short.\n");
if (debug && bytes < 0) fprintf(stderr, "get_iPhone(): libusb error message %d: %s (%s)\n",
bytes, usb_strerror(), strerror(-bytes));