]> granicus.if.org Git - neomutt/commit
Fix segfault of extract-keys (^K) under gpgme. (closes #3698)
authorKevin McCarthy <kevin@8t8.us>
Thu, 1 Jan 2015 04:35:38 +0000 (20:35 -0800)
committerKevin McCarthy <kevin@8t8.us>
Thu, 1 Jan 2015 04:35:38 +0000 (20:35 -0800)
commitd740d5b9eae56f656953019a6e9f83b0e82b3a84
treea0a6fba49e7302b16e0bd6f7f4e3fef2f11de136
parent9e2319a6c4a837b8674c654244f0237cfce3cdd2
Fix segfault of extract-keys (^K) under gpgme. (closes #3698)

This patch is based on the patch by Ben Price, which relocated the
safe_fclose (&in) after its use by keydata in pgp_gpgme_extract_keys.
Thank you for the patch!

In addition, this patch:
  * removes spurious (debug?) output when the extract keys is finished.
  * adds a gpgme_data_release() call to free the keydata.
crypt-gpgme.c