diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-04 15:34:31 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-04 15:34:31 +0100 |
commit | aa2e8ea15b2001f131ebd196c180cc82aceb57b4 (patch) | |
tree | 5d285066e3ce83fc0ada6059174e6dfcd2d78632 /runtime/ruleset.c | |
parent | b6a92e2f23895cadf9f0ea2de64021912bd2eeb0 (diff) | |
download | rsyslog-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.c | 3 |
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) |