libalpm: fix double free when importing key
Comit 5151de30 tried to fix leaking memory when importing a key. However key_search_keyserver() writes to the key passed in, making the original uid and fingerprint unreachable, causing the new uid and fingerprint to double free. Fixes FS#71107 Signed-off-by:Allan McRae <allan@archlinux.org>
Please register or sign in to comment