index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-26 13:10:38 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-28 19:49:02 -0500 |
commit | 0dad2f6e6223e2aa00c43b59f49bf83082a0d6bb (patch) | |
tree | 01099a0a509fc9645b6435c6d56a47072b1a1f78 /lib/libalpm/util.c | |
parent | a12a4ea3960c98817aa60df5a8879d118a16e2a7 (diff) |
-rw-r--r-- | lib/libalpm/util.c | 2 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index cf783893..98eaa175 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -836,6 +836,7 @@ char SYMEXPORT *alpm_compute_md5sum(const char *filename) ret = md5_file(filename, output); if(ret > 0) { + free(md5sum); return NULL; } @@ -867,6 +868,7 @@ char SYMEXPORT *alpm_compute_sha256sum(const char *filename) ret = sha2_file(filename, output, 0); if(ret > 0) { + free(sha256sum); return NULL; } |