From d501576fcf767057ed5528e270ad97b35d689bb6 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 9 Aug 2015 01:20:16 +0100 Subject: [PATCH] Free gpgme context on verification --- src/pgp/gpg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pgp/gpg.c b/src/pgp/gpg.c index d4774a50..1ca184d0 100644 --- a/src/pgp/gpg.c +++ b/src/pgp/gpg.c @@ -317,6 +317,7 @@ p_gpg_verify(const char * const barejid, const char *const sign) gpgme_data_release(sign_data); gpgme_data_release(plain_data); + gpgme_release(ctx); free(sign_with_header_footer); }