diff options
author | Nikias Bassen | 2010-11-28 01:57:59 +0100 |
---|---|---|
committer | Martin Szulecki | 2011-04-11 19:42:18 +0200 |
commit | 9ef4e6402c471fc810dd92e12aebbdcb5667cbdb (patch) | |
tree | 6b535bab31050423b0bb17663dfa612da438742f /tools | |
parent | 2d3e75d205fa0755d99217881c4610f7a2229d94 (diff) | |
download | libimobiledevice-9ef4e6402c471fc810dd92e12aebbdcb5667cbdb.tar.gz libimobiledevice-9ef4e6402c471fc810dd92e12aebbdcb5667cbdb.tar.bz2 |
idevicebackup4: fix test for non-existant files
Diffstat (limited to 'tools')
-rw-r--r-- | tools/idevicebackup4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicebackup4.c b/tools/idevicebackup4.c index 1a9a9ea..a90ad3d 100644 --- a/tools/idevicebackup4.c +++ b/tools/idevicebackup4.c @@ -206,7 +206,7 @@ static void mobilebackup_afc_get_file_contents(const char *filename, char **data return; } - char **fileinfo; + char **fileinfo = NULL; uint32_t fsize = 0; afc_get_file_info(afc, filename, &fileinfo); |