diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-26 13:10:38 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-29 02:49:02 +0200 |
commit | 0dad2f6e6223e2aa00c43b59f49bf83082a0d6bb (patch) | |
tree | 01099a0a509fc9645b6435c6d56a47072b1a1f78 /lib/libalpm/sync.h | |
parent | a12a4ea3960c98817aa60df5a8879d118a16e2a7 (diff) | |
download | pacman-0dad2f6e6223e2aa00c43b59f49bf83082a0d6bb.tar.gz pacman-0dad2f6e6223e2aa00c43b59f49bf83082a0d6bb.tar.xz |
lib/libalpm/util.c: Fix two memory leaks
Free "md5sum" if md5_file() fails in alpm_compute_md5sum(). Free
"sha256sum" if sha2_file() fails in alpm_compute_sha256sum().
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.h')
0 files changed, 0 insertions, 0 deletions