mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
Use bb_xstrdup() instead of strdup().
This commit is contained in:
parent
24cb17f9be
commit
083862228a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue