aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index 6c71aedf..1653826f 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -72,14 +72,14 @@ options {/* EMPTY */}
yytext[strlen(yytext)-1] = '\0';
escapes(yytext+1, buf);
- yylval.sval = (char *) strdup(buf);
+ yylval.sval = (char *) xstrdup(buf);
return STRING;
}
[^;:, \t\r\n]+ {
char buf[POPBUFSIZE];
escapes(yytext, buf);
- yylval.sval = (char *) strdup(buf);
+ yylval.sval = (char *) xstrdup(buf);
return STRING;
}