summaryrefslogtreecommitdiff
path: root/conf/cf-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'conf/cf-lex.l')
-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 954ad6b4..cd6699fd 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;
}