diff options
Diffstat (limited to 'src/pkg/runtime/panic.c')
| -rw-r--r-- | src/pkg/runtime/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/panic.c b/src/pkg/runtime/panic.c index af8bb1bc0e..bc685398a6 100644 --- a/src/pkg/runtime/panic.c +++ b/src/pkg/runtime/panic.c @@ -42,7 +42,7 @@ newdefer(int32 siz) if(d == nil) { // deferpool is empty or just a big defer total = runtime·roundupsize(TOTALSIZE(siz)); - d = runtime·malloc(total); + d = runtime·mallocgc(total, nil, 0); } d->siz = siz; d->special = 0; |
