summaryrefslogtreecommitdiffstats
path: root/grammar/rainerscript.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-07-15 15:22:59 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-07-15 15:22:59 +0200
commit01225486c213ae2fe2406208eaaaec9bcc250512 (patch)
tree15966f5acc10edb197af15768c143c3d537452dc /grammar/rainerscript.c
parentfae2b9725684dab45a1b63659b03cf6fce44f062 (diff)
downloadrsyslog-01225486c213ae2fe2406208eaaaec9bcc250512.tar.gz
rsyslog-01225486c213ae2fe2406208eaaaec9bcc250512.tar.bz2
rsyslog-01225486c213ae2fe2406208eaaaec9bcc250512.zip
fix regression that caused freeInstance not to be correctly called
was introduced July, 5th 2013 by commit 8ee2b0b1610fbf4dff20453d188f379583410b42
Diffstat (limited to 'grammar/rainerscript.c')
-rw-r--r--grammar/rainerscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c
index e3e7cb32..0f0b469c 100644
--- a/grammar/rainerscript.c
+++ b/grammar/rainerscript.c
@@ -2450,7 +2450,7 @@ cnfstmtNew(unsigned s_type)
void cnfstmtDestructLst(struct cnfstmt *root);
/* delete a single stmt */
-void
+static void
cnfstmtDestruct(struct cnfstmt *stmt)
{
switch(stmt->nodetype) {