diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | grammar/rainerscript.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,8 @@ Version 7.5.6 [devel] 2013-10-?? This could happen if the property name was longer than 127 chars, a case that would not happen in practice. - bugfix: invalid property filter was not properly disabled in ruleset + Note: the cosmetic memory leak introduced with that patch in 7.4.5 is + now also fixed. --------------------------------------------------------------------------- Version 7.5.5 [devel] 2013-10-16 - imfile: permit to monitor an unlimited number of files diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c index ff8eba0c..4defc025 100644 --- a/grammar/rainerscript.c +++ b/grammar/rainerscript.c @@ -2698,6 +2698,7 @@ cnfstmtNewPROPFILT(char *propfilt, struct cnfstmt *t_then) cnfstmt->d.s_propfilt.pCSCompValue = NULL; if(DecodePropFilter((uchar*)propfilt, cnfstmt) != RS_RET_OK) { cnfstmt->nodetype = S_NOP; /* disable action! */ + cnfstmtDestructLst(t_then); /* we do no longer need this */ } } return cnfstmt; |