aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/go-new.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/go-new.c')
-rw-r--r--libgo/runtime/go-new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-new.c b/libgo/runtime/go-new.c
index e673d14..a592174 100644
--- a/libgo/runtime/go-new.c
+++ b/libgo/runtime/go-new.c
@@ -11,7 +11,7 @@
void *
__go_new (size_t size)
{
- return __go_alloc (size);
+ return runtime_mallocgc (size, 0, 1, 1);
}
void *