Use bb_xstrdup() instead of strdup().

This commit is contained in:
Manuel Novoa III 2004-02-01 07:34:28 +00:00
parent 24cb17f9be
commit 083862228a

View File

@ -117,7 +117,7 @@ static VALUE *str_value (char *s)
v = xmalloc (sizeof(VALUE));
v->type = string;
v->u.s = strdup (s);
v->u.s = bb_xstrdup (s);
return v;
}