summaryrefslogtreecommitdiffstats
path: root/tools/idevicename.c
diff options
context:
space:
mode:
authorGravatar Bastien Nocera2018-07-24 14:21:10 +0200
committerGravatar Bastien Nocera2018-07-24 14:36:27 +0200
commit370a323148f691a5bb8f1d59b3c4aaf439f2d4b2 (patch)
treeb86f3637c59bfbd1e818941bcca82c5bc8521946 /tools/idevicename.c
parentc7ead85cb9daabe26df467b16ddefbbc7b1d3f3c (diff)
downloadlibimobiledevice-370a323148f691a5bb8f1d59b3c4aaf439f2d4b2.tar.gz
libimobiledevice-370a323148f691a5bb8f1d59b3c4aaf439f2d4b2.tar.bz2
idevicebackup2: Fix potential memleak
If either of dstpath or srcpath can be NULL, then make sure they get freed irrespective of the other variable's value in mb2_copy_directory_by_path()
Diffstat (limited to 'tools/idevicename.c')
0 files changed, 0 insertions, 0 deletions