diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-04 16:43:21 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-04 16:43:21 +0100 |
commit | ef193bf0ae75d206e4b50022f8c07e3b908c8491 (patch) | |
tree | 2ea9d48da9884b532e02a129565b68f648105280 /template.c | |
parent | 66d129c9ca24f6f3001fad9cc854c54a360df49e (diff) | |
parent | 8c3ab2e26f1bae46ff34fc1d0a10a69c4db78127 (diff) | |
download | rsyslog-ef193bf0ae75d206e4b50022f8c07e3b908c8491.tar.gz rsyslog-ef193bf0ae75d206e4b50022f8c07e3b908c8491.tar.xz rsyslog-ef193bf0ae75d206e4b50022f8c07e3b908c8491.zip |
Merge branch 'v4-stable' into v4-beta
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -427,10 +427,7 @@ static int do_Constant(unsigned char **pp, struct template *pTpl) } if((pTpe = tpeConstruct(pTpl)) == NULL) { - /* OK, we are out of luck. Let's invalidate the - * entry and that's it. - */ - pTpe->eEntryType = UNDEFINED; + rsCStrDestruct(&pStrB); return 1; } pTpe->eEntryType = CONSTANT; |