From be72e100159e6cd50ac64e3639f8e4f98218ccae Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 25 Aug 2011 17:41:27 -0500 Subject: Fix small memory leak in sig check code Signed-off-by: Dan McGee --- lib/libalpm/signing.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm') 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++) { -- cgit v1.2.3-70-g09d2