summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mobilesync.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mobilesync.c b/src/mobilesync.c
index 7f20e16..ee9af5f 100644
--- a/src/mobilesync.c
+++ b/src/mobilesync.c
@@ -709,6 +709,10 @@ mobilesync_error_t mobilesync_ready_to_send_changes_from_computer(mobilesync_cli
err = MOBILESYNC_E_SUCCESS;
out:
+ if (response_type) {
+ free(response_type);
+ response_type = NULL;
+ }
if (msg) {
plist_free(msg);
msg = NULL;