Use bb_xstrdup() instead of strdup().
This commit is contained in:
parent
24cb17f9be
commit
083862228a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user