summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/cf-lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index 954ad6b..cd6699f 100644
--- a/conf/cf-lex.l
+++ b/conf/cf-lex.l
@@ -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;
}