Skip to content
Snippets Groups Projects
Commit 9ff86a5e authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

config: free the list of included files properly

refs #2381
parent 991df46f
No related branches found
No related tags found
No related merge requests found
......@@ -344,8 +344,10 @@ hmac-sha512 { lval.alg = KNOT_TSIG_ALG_HMAC_SHA512; return TSIG_ALGO_NAME; }
char *name = names_stack_pop(yyextra);
free(name);
yypop_buffer_state(yyscanner);
if (!YY_CURRENT_BUFFER)
if (!YY_CURRENT_BUFFER) {
free(yyextra);
return END;
}
}
<include>{BLANK}+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment