summaryrefslogtreecommitdiffstats
path: root/runtime/module-template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-07-21 17:45:39 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-07-21 17:45:39 +0200
commit052f8e2ef64ca039219ac83a9d9372f3eb3a5aed (patch)
treed2671048393a397a28a1b8ebe39088c4bcfa8da6 /runtime/module-template.h
parent35b71135033e1be0c7759167d8151533f98b93e9 (diff)
downloadrsyslog-052f8e2ef64ca039219ac83a9d9372f3eb3a5aed.tar.gz
rsyslog-052f8e2ef64ca039219ac83a9d9372f3eb3a5aed.tar.xz
rsyslog-052f8e2ef64ca039219ac83a9d9372f3eb3a5aed.zip
bugfix: abort in omfile (in brand-new code)
Diffstat (limited to 'runtime/module-template.h')
-rw-r--r--runtime/module-template.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/module-template.h b/runtime/module-template.h
index 6238d0f4..d360447a 100644
--- a/runtime/module-template.h
+++ b/runtime/module-template.h
@@ -325,7 +325,8 @@ static rsRetVal newActInst(uchar __attribute__((unused)) *modName, \
struct nvlst *lst, void **ppModData, omodStringRequest_t **ppOMSR)\
{\
DEFiRet;\
- instanceData *pData = NULL;
+ instanceData *pData = NULL; \
+ *ppOMSR = NULL;
#define CODESTARTnewActInst \