diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/idevicebackup2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index 8921403..fe2efdc 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c | |||
| @@ -470,6 +470,7 @@ static int mb2_status_check_snapshot_state(const char *path, const char *udid, c | |||
| 470 | plist_get_string_val(node, &sval); | 470 | plist_get_string_val(node, &sval); |
| 471 | if (sval) { | 471 | if (sval) { |
| 472 | ret = (strcmp(sval, matches) == 0) ? 1 : 0; | 472 | ret = (strcmp(sval, matches) == 0) ? 1 : 0; |
| 473 | free(sval); | ||
| 473 | } | 474 | } |
| 474 | } else { | 475 | } else { |
| 475 | printf("%s: ERROR could not get SnapshotState key from Status.plist!\n", __func__); | 476 | printf("%s: ERROR could not get SnapshotState key from Status.plist!\n", __func__); |
