summaryrefslogtreecommitdiffstats
path: root/runtime/ruleset.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-04 15:34:31 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-04 15:34:31 +0100
commitaa2e8ea15b2001f131ebd196c180cc82aceb57b4 (patch)
tree5d285066e3ce83fc0ada6059174e6dfcd2d78632 /runtime/ruleset.c
parentb6a92e2f23895cadf9f0ea2de64021912bd2eeb0 (diff)
downloadrsyslog-aa2e8ea15b2001f131ebd196c180cc82aceb57b4.tar.gz
rsyslog-aa2e8ea15b2001f131ebd196c180cc82aceb57b4.tar.xz
rsyslog-aa2e8ea15b2001f131ebd196c180cc82aceb57b4.zip
first complete implementation of loadable parser system
I have now done the necessary cleanup. Looks like everything is in place. Unfortunately, I do not yet have any actual parser that is not built-in, but I think we can postpone working on that when the first one appears. I don't expect troubles in that case, but you never know ;)
Diffstat (limited to 'runtime/ruleset.c')
-rw-r--r--runtime/ruleset.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/ruleset.c b/runtime/ruleset.c
index bfcb520f..1a77be2b 100644
--- a/runtime/ruleset.c
+++ b/runtime/ruleset.c
@@ -350,6 +350,9 @@ CODESTARTobjDestruct(ruleset)
if(pThis->pQueue != NULL) {
qqueueDestruct(&pThis->pQueue);
}
+ if(pThis->pParserLst != NULL) {
+ parser.DestructParserList(&pThis->pParserLst);
+ }
llDestroy(&pThis->llRules);
free(pThis->pszName);
ENDobjDestruct(ruleset)