From 9fa59604e94f72225180e5fe28d18c4ec3374d61 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 11 Oct 2012 12:22:49 +0200 Subject: bugfixes in regards to action() - bugfix: small memory leak when processing action() statements - bugfix: unknown action() parameters were not reported --- grammar/rainerscript.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'grammar/rainerscript.c') diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c index a98277af..be568238 100644 --- a/grammar/rainerscript.c +++ b/grammar/rainerscript.c @@ -2203,6 +2203,8 @@ cnfstmtNewAct(struct nvlst *lst) modGetName(cnfstmt->d.act->pMod)); namebuf[255] = '\0'; /* be on safe side */ cnfstmt->printable = (uchar*)strdup(namebuf); + nvlstChkUnused(lst); + nvlstDestruct(lst); done: return cnfstmt; } -- cgit v1.2.3