diff options
Diffstat (limited to 'src/ifuse.c')
-rw-r--r-- | src/ifuse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ifuse.c b/src/ifuse.c index 4ea91af..e4d14e5 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -157,8 +157,9 @@ void *ifuse_init(struct fuse_conn_info *conn) { void ifuse_cleanup(AFClient *afc) { if (afc) { - free_iPhone(afc->phone); + iPhone *phone = afc->phone; afc_disconnect(afc); + free_iPhone(phone); } } |