summaryrefslogtreecommitdiffstats
path: root/tools/idevicebackup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicebackup2.c')
-rw-r--r--tools/idevicebackup2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index d9481f7..34dfe9e 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -704,7 +704,9 @@ static void mb2_handle_send_files(plist_t message, const char *backup_dir)
mobilebackup2_send_raw(mobilebackup2, (char*)&zero, 4, &sent);
if (!errplist) {
- mobilebackup2_send_status_response(mobilebackup2, 0, NULL, plist_new_dict());
+ plist_t emptydict = plist_new_dict();
+ mobilebackup2_send_status_response(mobilebackup2, 0, NULL, emptydict);
+ plist_free(emptydict);
} else {
mobilebackup2_send_status_response(mobilebackup2, -13, "Multi status", errplist);
plist_free(errplist);