summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-07-30 23:09:38 -0700
committerGravatar Matt Colyer2008-07-30 23:09:38 -0700
commitd4c28088e8d189469d42ff57372eb7c9d0e75496 (patch)
tree6a602bd1b4e3789dbb7bcc189214e297f6b4bc55
parenta5c2119e51f2d81be80fac08771f8ea50761661c (diff)
downloadlibimobiledevice-d4c28088e8d189469d42ff57372eb7c9d0e75496.tar.gz
libimobiledevice-d4c28088e8d189469d42ff57372eb7c9d0e75496.tar.bz2
Made the iPhone cleanup after itself.
-rw-r--r--src/ifuse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index 93467b3..323006f 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -121,6 +121,7 @@ void *ifuse_init(struct fuse_conn_info *conn) {
}
void ifuse_cleanup() {
+ free_iPhone(afc->iphone);
afc_disconnect(afc);
}