projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
814b087
)
Fix a memory leak in matcherrc rule parsing.
author
Andrej Kacian
<ticho@claws-mail.org>
Tue, 11 Jul 2017 17:48:57 +0000
(19:48 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Tue, 11 Jul 2017 17:48:57 +0000
(19:48 +0200)
src/matcher_parser_parse.y
patch
|
blob
|
history
diff --git
a/src/matcher_parser_parse.y
b/src/matcher_parser_parse.y
index dd2aee702e0728372d8ffa31f73cfcf20225b860..20dc91e0cf281acfd3da18c7aeeb22967b760f4e 100644
(file)
--- a/
src/matcher_parser_parse.y
+++ b/
src/matcher_parser_parse.y
@@
-537,6
+537,9
@@
filtering_action_list
*prefs_filtering = g_slist_append(*prefs_filtering,
filtering);
filtering = NULL;
+ } else {
+ filteringprop_free(filtering);
+ filtering = NULL;
}
}
;