summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-12 20:42:26 +0200
committerGravatar Jonathan Beck2008-08-21 18:47:04 +0200
commite5e5f21cae73230eaaa70273bd4400ff6b86641a (patch)
tree729fe309175f6952c134e35b80e9ed79b646c135 /src/main.c
parent94eca7874e2c60cad84b344feaaa66418b1b47ef (diff)
downloadlibimobiledevice-e5e5f21cae73230eaaa70273bd4400ff6b86641a.tar.gz
libimobiledevice-e5e5f21cae73230eaaa70273bd4400ff6b86641a.tar.bz2
fix some memory leaks
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 0267dee..f7f8a2c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -131,6 +131,9 @@ int main(int argc, char *argv[]) {
printf("Start service failure.\n");
}
+ printf("All done.\n");
+
+ lockdownd_close(control);
free_iPhone(phone);
return 0;