Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-09-30 15:00:03 -0400
committerAllan McRae <allan@archlinux.org>2014-10-01 09:12:54 +1000
commit7ee01c86669327b2af63c8ed9390bcbf071cdac5 (patch)
tree72f1a5f494025d24e231451913024ab7a999de30 /lib/libalpm/handle.c
parentaec4241af24a1c68dacadb31ae38f05bdccfe799 (diff)
_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.c4
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 */