libc: set malloctag for runestrdup()
This commit is contained in:
parent
ea81146c15
commit
13dbaaaf70
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ runestrdup(Rune *s)
|
|||
ns = malloc(sizeof(Rune)*(runestrlen(s) + 1));
|
||||
if(ns == 0)
|
||||
return 0;
|
||||
|
||||
setmalloctag(ns, getcallerpc(&s));
|
||||
return runestrcpy(ns, s);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue