diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-01-25 14:15:48 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-01-25 14:15:48 +0100 |
commit | 13dbaaaf707804db47c9bf29ed93953405672984 (patch) | |
tree | 2d446e102039e4e8863081b38b2840f7c6830efd /sys | |
parent | ea81146c1515a35481103388a0e1e37aecab4933 (diff) |
libc: set malloctag for runestrdup()
Diffstat (limited to 'sys')
-rw-r--r-- | sys/src/libc/port/runestrdup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libc/port/runestrdup.c b/sys/src/libc/port/runestrdup.c index f66b430b6..c25420654 100644 --- a/sys/src/libc/port/runestrdup.c +++ b/sys/src/libc/port/runestrdup.c @@ -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); } |