summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/iphone.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/iphone.c b/src/iphone.c
index 91a9f50..cf53310 100644
--- a/src/iphone.c
+++ b/src/iphone.c
@@ -39,6 +39,7 @@ iPhone *get_iPhone() {
// initialize the struct
phone->device = NULL;
phone->__device = NULL;
+ phone->buffer = NULL;
// Initialize libusb.
usb_init();