From 9578ad156a1b076905eb26dd746261a506a0edcf Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 7 Jan 2014 15:34:41 -0800 Subject: * match.c (v_load): Call yylex_destroy after yyparse, so we don't have stray scanner state possibly interfering with a subsquent parse job. --- match.c | 1 + 1 file changed, 1 insertion(+) (limited to 'match.c') diff --git a/match.c b/match.c index 2e4568af..23e96e9e 100644 --- a/match.c +++ b/match.c @@ -3583,6 +3583,7 @@ static val v_load(match_files_ctx *c) int gc = gc_state(0); parse_reset(path); yyparse(); + yylex_destroy(); gc_state(gc); if (errors) -- cgit v1.2.3