summaryrefslogtreecommitdiffstats
path: root/module-template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-30 10:02:33 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-30 10:02:33 +0000
commit91b5178c124417b419854cae35204b6742605af5 (patch)
treed05f0ecf85b276870e36b1d0216eaca322571460 /module-template.h
parent09a99b4d971607269525e56f1680d0ae6a0ea137 (diff)
downloadrsyslog-91b5178c124417b419854cae35204b6742605af5.tar.gz
rsyslog-91b5178c124417b419854cae35204b6742605af5.tar.xz
rsyslog-91b5178c124417b419854cae35204b6742605af5.zip
fixed bug in output module interface, see
http://sourceforge.net/tracker/index.php?func=detail&aid=1881008&group_ id=123448&atid=696552
Diffstat (limited to 'module-template.h')
-rw-r--r--module-template.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/module-template.h b/module-template.h
index c92ec25a..7ac5a3e5 100644
--- a/module-template.h
+++ b/module-template.h
@@ -243,8 +243,9 @@ finalize_it:\
OMSRdestruct(*ppOMSR);\
*ppOMSR = NULL;\
}\
- if(pData != NULL)\
- freeInstance(&pData);\
+ if(pData != NULL) {\
+ freeInstance(pData);\
+ } \
}
#define ENDparseSelectorAct \