summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/sync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 3919d266..2859debb 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -934,8 +934,9 @@ static int check_keyring(alpm_handle_t *handle)
}
free(keyinfo->uid);
free(keyinfo->keyid);
-
+ free(keyinfo);
}
+ alpm_list_free(errors);
event.type = ALPM_EVENT_KEY_DOWNLOAD_DONE;
EVENT(handle, &event);
if(fail) {