summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-25 17:41:27 -0500
committerDan McGee <dan@archlinux.org>2011-08-25 17:41:27 -0500
commitbe72e100159e6cd50ac64e3639f8e4f98218ccae (patch)
treec89f0b9e741f449190865fa46907b7f4ef449726 /lib/libalpm
parentc5982a3eb5287afdec6c9b859f81795c773da8fe (diff)
downloadpacman-be72e100159e6cd50ac64e3639f8e4f98218ccae.tar.xz
Fix small memory leak in sig check code
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/signing.c1
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++) {