summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/parser_bison.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y
index bd2232a3..5e702a05 100644
--- a/src/parser_bison.y
+++ b/src/parser_bison.y
@@ -4032,8 +4032,10 @@ osf_ttl : /* empty */
else {
erec_queue(error(&@2, "invalid ttl option"),
state->msgs);
+ xfree($2);
YYERROR;
}
+ xfree($2);
}
;