summaryrefslogtreecommitdiffstats
path: root/grammar
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-10-23 16:58:23 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-10-23 16:58:23 +0200
commitae244c80273c26dbf43462edda5b6077a3320201 (patch)
tree82d9908751ccdc6292df1a69fa24880cf51f3776 /grammar
parentcdc306767df06937c2d14b459a6963154fb6d400 (diff)
downloadrsyslog-ae244c80273c26dbf43462edda5b6077a3320201.tar.gz
rsyslog-ae244c80273c26dbf43462edda5b6077a3320201.tar.bz2
rsyslog-ae244c80273c26dbf43462edda5b6077a3320201.zip
fix another small memleak introduced during refactoring
Diffstat (limited to 'grammar')
-rw-r--r--grammar/rainerscript.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c
index d4a9529d..5cc59b61 100644
--- a/grammar/rainerscript.c
+++ b/grammar/rainerscript.c
@@ -2187,6 +2187,7 @@ cnfexprDestruct(struct cnfexpr *expr)
break;
case 'V':
free(((struct cnfvar*)expr)->name);
+ msgPropDescrDestruct(&(((struct cnfvar*)expr)->prop));
break;
case 'F':
cnffuncDestruct((struct cnffunc*)expr);