diff options
author | Michael Meckelein <mmeckelein@hq.adiscon.com> | 2007-08-22 10:49:32 +0000 |
---|---|---|
committer | Michael Meckelein <mmeckelein@hq.adiscon.com> | 2007-08-22 10:49:32 +0000 |
commit | fb13c3a39850ba28bf28ae8aead9c80c180fc13f (patch) | |
tree | 53ac7c98ac9be1a540e70d7c584642aa0607b2fd /module-template.h | |
parent | d1a76e1bdfd1c61d0244a3860cf05211f2458ca2 (diff) | |
download | rsyslog-fb13c3a39850ba28bf28ae8aead9c80c180fc13f.tar.gz rsyslog-fb13c3a39850ba28bf28ae8aead9c80c180fc13f.tar.xz rsyslog-fb13c3a39850ba28bf28ae8aead9c80c180fc13f.zip |
applied patches which will be released under 1.19.1, changed doc for 1.19.1v1-19-1
release
Diffstat (limited to 'module-template.h')
-rw-r--r-- | module-template.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/module-template.h b/module-template.h index ce13bce6..05ef22a7 100644 --- a/module-template.h +++ b/module-template.h @@ -226,10 +226,13 @@ finalize_it:\ *pp = p;\ } else {\ /* cleanup, we failed */\ - if(*ppOMSR != NULL)\ + if(*ppOMSR != NULL) {\ OMSRdestruct(*ppOMSR);\ *ppOMSR = NULL;\ - } + }\ + if(pData != NULL)\ + freeInstance(&pData);\ + } #define ENDparseSelectorAct \ return iRet;\ |