[Commits] [SCM] claws branch, master, updated. 3.10.1-139-gd1d1180

Colin colin at claws-mail.org
Fri Aug 1 17:16:05 CEST 2014


The branch, master has been updated
       via  d1d1180b1bbe90db3c57f0ee99baaeab90e81f31 (commit)
      from  71e39607218b5801da5c30084633f821492b7c33 (commit)

Summary of changes:
 src/plugins/pgpcore/sgpgme.c |    1 +
 1 file changed, 1 insertion(+)


- Log -----------------------------------------------------------------
commit d1d1180b1bbe90db3c57f0ee99baaeab90e81f31
Author: Colin Leroy <colin at colino.net>
Date:   Fri Aug 1 17:15:26 2014 +0200

    Fix missing fclose(), thanks to Kevin Day

diff --git a/src/plugins/pgpcore/sgpgme.c b/src/plugins/pgpcore/sgpgme.c
index 6ba6d57..3de07e2 100644
--- a/src/plugins/pgpcore/sgpgme.c
+++ b/src/plugins/pgpcore/sgpgme.c
@@ -401,6 +401,7 @@ gpgme_data_t sgpgme_data_from_mimeinfo(MimeInfo *mimeinfo)
 		return NULL;
 
 	err = gpgme_data_new_from_filepart(&data, NULL, fp, mimeinfo->offset, mimeinfo->length);
+	fclose(fp);
 
 	debug_print("data %p (%d %d)\n", (void *)&data, mimeinfo->offset, mimeinfo->length);
 	if (err) {

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list