talons

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

commit fbb619d6ae6150a53b4b0bd5aa08ce53e3c6f253
parent e6ae9fa25d77255104e41ead34154fc12286d61d
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Fri,  9 Sep 2016 23:43:51 +0200

Fix memory leak in password store reading.

Diffstat:
Msrc/passwordstore.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/passwordstore.c b/src/passwordstore.c @@ -418,6 +418,8 @@ void passwd_store_read_config(void) lines = g_strsplit(contents, "\n", -1); + g_free(contents); + while (lines[i] != NULL) { if (*lines[i] == '[') { /* Beginning of a new block */