about summary refs log tree commit diff stats
path: root/src/pgp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-08-09 01:20:16 +0100
committerJames Booth <boothj5@gmail.com>2015-08-09 01:20:16 +0100
commitd501576fcf767057ed5528e270ad97b35d689bb6 (patch)
tree32382e42c2a3ef4a7cf1efc97eb69f64475b60c0 /src/pgp
parent1422af05fc9b0cf458febcf5e19d3e3014bc9038 (diff)
downloadprofani-tty-d501576fcf767057ed5528e270ad97b35d689bb6.tar.gz
Free gpgme context on verification
Diffstat (limited to 'src/pgp')
-rw-r--r--src/pgp/gpg.c1
1 files changed, 1 insertions, 0 deletions
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);
 }