libc: set malloctag for runestrdup()

This commit is contained in:
cinap_lenrek 2013-01-25 14:15:48 +01:00
parent ea81146c15
commit 13dbaaaf70

View file

@ -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);
}