summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/libc/port/strdup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libc/port/strdup.c b/sys/src/libc/port/strdup.c
index 3d5fe523f..8ced7f21e 100644
--- a/sys/src/libc/port/strdup.c
+++ b/sys/src/libc/port/strdup.c
@@ -9,6 +9,6 @@ strdup(char *s)
ns = malloc(strlen(s) + 1);
if(ns == 0)
return 0;
-
+ setmalloctag(ns, getcallerpc(&s));
return strcpy(ns, s);
}