talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit fb0fb9d311c6d716111c11dc5f8684ccaef9e3fe
parent 6fafdc6dc6c7d084f2581c6c2575d25fa51a7926
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Wed, 12 Jul 2017 11:14:13 +0200

Fix a memory leak in compose_write_to_file().

Diffstat:
Msrc/compose.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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 */