summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/parser_bison.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y
index e405c80a..872d7cdb 100644
--- a/src/parser_bison.y
+++ b/src/parser_bison.y
@@ -4553,6 +4553,7 @@ limit_config : RATE limit_mode NUM SLASH time_unit limit_burst_pkts
uint64_t rate, unit;
erec = rate_parse(&@$, $4, &rate, &unit);
+ xfree($4);
if (erec != NULL) {
erec_queue(erec, state->msgs);
YYERROR;