diff options
author | Jonathan Beck | 2008-08-21 19:38:33 +0200 |
---|---|---|
committer | Jonathan Beck | 2008-08-21 19:38:33 +0200 |
commit | 842db4ebceb84b3df05f2539bc84e94d77b1768b (patch) | |
tree | 5596e8df66d8d18a243796f56a2b756805df613a /src/iphone.c | |
parent | e87e41bb24bbda2e87e6c89d2cc5b9a986ccd346 (diff) | |
download | libimobiledevice-842db4ebceb84b3df05f2539bc84e94d77b1768b.tar.gz libimobiledevice-842db4ebceb84b3df05f2539bc84e94d77b1768b.tar.bz2 |
fixes duplicates free
Diffstat (limited to 'src/iphone.c')
-rw-r--r-- | src/iphone.c | 1 |
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)); |