commit f46d6934781359c0a4e6df3f78e74a799c883f4a
parent 1d45a3af712aeb4aec6c006d3b8e766b1dd9cb94
Author: Ricardo Mones <ricardo@mones.org>
Date: Thu, 2 May 2013 09:28:15 +0200
Fix bug #1684 'view news messages with large attachements segfaults'
Don't g_free MMAPString str data which we didn't allocate
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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;