aboutsummaryrefslogtreecommitdiff
path: root/plugins/openpgp/src/gpgme_helper.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2023-10-07 16:53:37 +0200
committerfiaxh <git@lightrise.org>2023-10-07 16:54:09 +0200
commit8cb195a2749b0335c8d5fefc2d4fb78023cffe71 (patch)
treedf92e8df02e48bae8b5be1e812d526212f16cf27 /plugins/openpgp/src/gpgme_helper.vala
parent1e167eeea67f18f3d5788dc34d97d94e6f401499 (diff)
downloaddino-8cb195a2749b0335c8d5fefc2d4fb78023cffe71.tar.gz
dino-8cb195a2749b0335c8d5fefc2d4fb78023cffe71.zip
Fix crash due to gpg binding issue
Diffstat (limited to 'plugins/openpgp/src/gpgme_helper.vala')
-rw-r--r--plugins/openpgp/src/gpgme_helper.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/openpgp/src/gpgme_helper.vala b/plugins/openpgp/src/gpgme_helper.vala
index f28bc6d6..18d07c06 100644
--- a/plugins/openpgp/src/gpgme_helper.vala
+++ b/plugins/openpgp/src/gpgme_helper.vala
@@ -117,6 +117,7 @@ public static Gee.List<Key> get_keylist(string? pattern = null, bool secret_only
} catch (Error e) {
if (e.code != GPGError.ErrorCode.EOF) throw e;
}
+ context.op_keylist_end();
return keys;
} finally {
global_mutex.unlock();