Fix a few memory leaks when enumerating keys with GpgME.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 11 Jul 2017 19:09:24 +0000 (21:09 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 11 Jul 2017 19:09:24 +0000 (21:09 +0200)
commit11980bc7a384136cc2d9aada20988bcd462b1ffc
tree306c041aec79c2726c0c9e5989c87969e4f121b8
parent2103e3787ab8ef2c8eb43d35292e5c91b5b61237
Fix a few memory leaks when enumerating keys with GpgME.

Also replaced uses of deprecated gpgme_key_release()
with gpgme_key_unref().
src/plugins/pgpcore/autocompletion.c
src/plugins/pgpcore/select-keys.c
src/plugins/pgpcore/sgpgme.c