summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-11-28 01:57:59 +0100
committerGravatar Martin Szulecki2011-04-11 19:42:18 +0200
commit9ef4e6402c471fc810dd92e12aebbdcb5667cbdb (patch)
tree6b535bab31050423b0bb17663dfa612da438742f
parent2d3e75d205fa0755d99217881c4610f7a2229d94 (diff)
downloadlibimobiledevice-9ef4e6402c471fc810dd92e12aebbdcb5667cbdb.tar.gz
libimobiledevice-9ef4e6402c471fc810dd92e12aebbdcb5667cbdb.tar.bz2
idevicebackup4: fix test for non-existant files
-rw-r--r--tools/idevicebackup4.c2
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);