diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-09-30 21:00:03 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-10-01 01:12:54 +0200 |
commit | 7ee01c86669327b2af63c8ed9390bcbf071cdac5 (patch) | |
tree | 72f1a5f494025d24e231451913024ab7a999de30 /lib/libalpm/handle.c | |
parent | aec4241af24a1c68dacadb31ae38f05bdccfe799 (diff) | |
download | pacman-7ee01c86669327b2af63c8ed9390bcbf071cdac5.tar.gz pacman-7ee01c86669327b2af63c8ed9390bcbf071cdac5.tar.xz |
_alpm_key_in_keychain: cache known keys
Implements FS#38042
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r-- | lib/libalpm/handle.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index dd284ac5..6545592b 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -71,6 +71,10 @@ void _alpm_handle_free(alpm_handle_t *handle) curl_easy_cleanup(handle->curl); #endif +#ifdef HAVE_LIBGPGME + FREELIST(handle->known_keys); +#endif + regfree(&handle->delta_regex); /* free memory */ |