1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

Fix small memory leak in sig check code

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-08-25 17:41:27 -05:00
parent c5982a3eb5
commit be72e10015
2 changed files with 1 additions and 1 deletions

View File

@ -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++) {

View File

@ -68,7 +68,6 @@
Memcheck:Leak
fun:malloc
...
fun:_gpgme_set_engine_info
fun:gpgme_set_engine_info
}
{