projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b5405
)
fix crash introduced in c7e1e0bbdf72269708a53075a4accecb61ebebe2
author
Paul
<paul@claws-mail.org>
Tue, 24 May 2016 13:20:52 +0000
(14:20 +0100)
committer
Paul
<paul@claws-mail.org>
Tue, 24 May 2016 13:20:52 +0000
(14:20 +0100)
src/matcher.c
patch
|
blob
|
history
diff --git
a/src/matcher.c
b/src/matcher.c
index d0d7e15ca3ec246812b522a00d8d53036997fc6f..83047c06e8aec138673d1c26e978b890474b9f64 100644
(file)
--- 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);
+ }
}