[Commits] [SCM] claws branch, master, updated. 3.15.0-101-gfb0fb9d

ticho at claws-mail.org ticho at claws-mail.org
Wed Jul 12 11:14:40 CEST 2017


The branch, master has been updated
       via  fb0fb9d311c6d716111c11dc5f8684ccaef9e3fe (commit)
      from  6fafdc6dc6c7d084f2581c6c2575d25fa51a7926 (commit)

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


- Log -----------------------------------------------------------------
commit fb0fb9d311c6d716111c11dc5f8684ccaef9e3fe
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Wed Jul 12 11:14:13 2017 +0200

    Fix a memory leak in compose_write_to_file().

diff --git a/src/compose.c b/src/compose.c
index 4dfb962..a2b1891 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -5686,6 +5686,7 @@ static gint compose_write_to_file(Compose *compose, FILE *fp, gint action, gbool
 		if (*chars != '\n') {
 			gtk_text_buffer_insert(buffer, &end, "\n", 1);
 		}
+		g_free(chars);
 	}
 
 	/* get all composed text */

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list