From 8ceef647fca53c40a26dbaed7b8d8a64610cfd4a Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 24 May 2016 14:20:52 +0100 Subject: [PATCH] fix crash introduced in c7e1e0bbdf72269708a53075a4accecb61ebebe2 --- src/matcher.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/matcher.c b/src/matcher.c index d0d7e15ca..83047c06e 100644 --- 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); + } } -- 2.25.1