From 269fc21990b39cb1bd7a46b223a9d948a07fedd3 Mon Sep 17 00:00:00 2001
From: Nikias Bassen
Date: Sat, 3 May 2014 17:24:55 +0200
Subject: idevicebackup2: Plug small memory leak

---
 tools/idevicebackup2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index 5576283..39840e3 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -1503,7 +1503,7 @@ int main(int argc, char *argv[])
 	}
 
 	if (cmd == CMD_CHANGEPW || cmd == CMD_CLOUD) {
-		backup_directory = strdup(".this_folder_is_not_present_on_purpose");
+		backup_directory = (char*)".this_folder_is_not_present_on_purpose";
 	} else {
 		if (backup_directory == NULL) {
 			printf("No target backup directory specified.\n");
-- 
cgit v1.1-32-gdbae