summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicebackup4.c b/tools/idevicebackup4.c
index ae63feb..3208c1e 100644
--- a/tools/idevicebackup4.c
+++ b/tools/idevicebackup4.c
@@ -1103,6 +1103,7 @@ static int handle_receive_files(plist_t message, const char *backup_dir)
mobilebackup2_receive_raw(mobilebackup2, fname, nlen-1, &r);
debug_buf(fname, r);
free(fname);
+ remove(bname);
}
// TODO error handling?!
mobilebackup2_send_status_response(mobilebackup2, 0, NULL, plist_new_dict());