diff options
| -rw-r--r-- | sys/src/libsec/port/tlshand.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/libsec/port/tlshand.c b/sys/src/libsec/port/tlshand.c index b7457015d..0d690aff1 100644 --- a/sys/src/libsec/port/tlshand.c +++ b/sys/src/libsec/port/tlshand.c @@ -2195,6 +2195,7 @@ emalloc(int n) exits("out of memory"); } memset(p, 0, n); + setmalloctag(p, getcallerpc(&n)); return p; } @@ -2208,6 +2209,7 @@ erealloc(void *ReallocP, int ReallocN) else if(!(ReallocP = realloc(ReallocP, ReallocN))){ exits("out of memory"); } + setrealloctag(ReallocP, getcallerpc(&ReallocP)); return(ReallocP); } |
