Commit ca0edc53 authored by Martin Mareš's avatar Martin Mareš

When a quoted string is encountered, don't forget to copy it to the

config pool before passing it to the parser.
parent 99278e10
......@@ -144,8 +144,8 @@ WHITE [ \t]
["][^"\n]*["] {
cf_lval.t = yytext+1;
yytext[yyleng-1] = 0;
cf_lval.t = cfg_strdup(yytext+1);
return TEXT;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment