diff options
author | varmojfekoj <theinric@redhat.com> | 2010-02-04 16:02:57 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-04 16:02:57 +0100 |
commit | 8c3ab2e26f1bae46ff34fc1d0a10a69c4db78127 (patch) | |
tree | fde5f05035166bb859f9be7319f70788b4edb8ef /template.c | |
parent | 7d098f14cba4f31dec7d92136183ebd0ccf7e1d0 (diff) | |
download | rsyslog-8c3ab2e26f1bae46ff34fc1d0a10a69c4db78127.tar.gz rsyslog-8c3ab2e26f1bae46ff34fc1d0a10a69c4db78127.tar.xz rsyslog-8c3ab2e26f1bae46ff34fc1d0a10a69c4db78127.zip |
bugfix: several smaller bugs resolved after flexelint review
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -431,10 +431,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; |