diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-25 17:41:27 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-25 17:41:27 -0500 |
commit | be72e100159e6cd50ac64e3639f8e4f98218ccae (patch) | |
tree | c89f0b9e741f449190865fa46907b7f4ef449726 /lib | |
parent | c5982a3eb5287afdec6c9b859f81795c773da8fe (diff) | |
download | pacman-be72e100159e6cd50ac64e3639f8e4f98218ccae.tar.xz |
Fix small memory leak in sig check code
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/signing.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c index 8db4a7b2..f63ac2f6 100644 --- a/lib/libalpm/signing.c +++ b/lib/libalpm/signing.c @@ -539,6 +539,7 @@ int SYMEXPORT alpm_sigresult_cleanup(alpm_sigresult_t *result) * values in the struct. Only look at them if count is greater than 0. */ if(result->count > 0) { free(result->status); + free(result->validity); if(result->uid) { int i; for(i = 0; i < result->count; i++) { |