Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2021-01-15 23:20:58 -0800
committerAllan McRae <allan@archlinux.org>2021-01-19 12:38:34 +1000
commita4931704205718869fdf62d0e20a2a4b27216436 (patch)
tree0d2536f60a4e2095df6a72acf1de2219270cdf29 /lib
parent5151de301119ef73de12edc98e6c6ff4e2412873 (diff)
fully free error list in check_keyring
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
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) {