[Commits] [SCM] claws branch, master, updated. 3.9.0-204-gf46d693

mones at claws-mail.org mones at claws-mail.org
Thu May 2 09:31:11 CEST 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  f46d6934781359c0a4e6df3f78e74a799c883f4a (commit)
      from  1d45a3af712aeb4aec6c006d3b8e766b1dd9cb94 (commit)


- Log -----------------------------------------------------------------
commit f46d6934781359c0a4e6df3f78e74a799c883f4a
Author: Ricardo Mones <ricardo at mones.org>
Date:   Thu May 2 09:28:15 2013 +0200

    Fix bug #1684 'view news messages with large attachements segfaults'
    
    Don't g_free MMAPString str data which we didn't allocate

diff --git a/src/news.c b/src/news.c
index 72083f6..1102b4b 100644
--- a/src/news.c
+++ b/src/news.c
@@ -801,7 +801,6 @@ static gint news_get_article(Folder *folder, gint num, gchar *filename)
 	if (r == NEWSNNTP_NO_ERROR) {
 		if (str_write_to_file(result, filename) < 0)
 			return -1;
-		g_free(result);
 	}
 	
 	return r;

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

Summary of changes:
 src/news.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list