diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2021-01-16 08:20:58 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-01-19 03:38:34 +0100 |
commit | a4931704205718869fdf62d0e20a2a4b27216436 (patch) | |
tree | 0d2536f60a4e2095df6a72acf1de2219270cdf29 /lib/libalpm | |
parent | 5151de301119ef73de12edc98e6c6ff4e2412873 (diff) | |
download | pacman-a4931704205718869fdf62d0e20a2a4b27216436.tar.gz pacman-a4931704205718869fdf62d0e20a2a4b27216436.tar.xz |
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/libalpm')
-rw-r--r-- | lib/libalpm/sync.c | 3 |
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) { |