talons

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

commit 8ceef647fca53c40a26dbaed7b8d8a64610cfd4a
parent f7b5405defb3f1a4b124253a10c8cfe0e6aabeba
Author: Paul <paul@claws-mail.org>
Date:   Tue, 24 May 2016 14:20:52 +0100

fix crash introduced in c7e1e0bbdf72269708a53075a4accecb61ebebe2

Diffstat:
Msrc/matcher.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/matcher.c b/src/matcher.c @@ -2575,6 +2575,8 @@ void prefs_matcher_read_config(void) f = g_fopen(rcpath, "rb"); g_free(rcpath); - matcher_parser_start_parsing(f); - fclose(matcher_parserin); + if (f != NULL) { + matcher_parser_start_parsing(f); + fclose(matcher_parserin); + } }