[Commits] [SCM] claws branch, master, updated. 3.17.3-159-gd172180
ticho at claws-mail.org
ticho at claws-mail.org
Thu Apr 25 01:10:43 CEST 2019
The branch, master has been updated
via d17218031565b6ab8e78ab5d24f1b16b0fa3f848 (commit)
from ad0550981b5cc3ec9105cdc847cb659eed759e34 (commit)
Summary of changes:
src/plugins/pgpcore/sgpgme.c | 4 ++++
1 file changed, 4 insertions(+)
- Log -----------------------------------------------------------------
commit d17218031565b6ab8e78ab5d24f1b16b0fa3f848
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Thu Apr 25 01:10:36 2019 +0200
Fix a memory leak in sgpgme_sigstat_info_short()
diff --git a/src/plugins/pgpcore/sgpgme.c b/src/plugins/pgpcore/sgpgme.c
index 79c0c92..3d056e9 100644
--- a/src/plugins/pgpcore/sgpgme.c
+++ b/src/plugins/pgpcore/sgpgme.c
@@ -310,6 +310,10 @@ gchar *sgpgme_sigstat_info_short(gpgme_ctx_t ctx, gpgme_verify_result_t status)
if (result == NULL)
result = g_strdup(_("Error"));
g_free(uname);
+
+ if (key)
+ gpgme_key_release(key);
+
return result;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list