From d8b878dc29c0c037c0fb269c5bce1ed2d1547ff9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 7 Mar 2011 22:19:50 +0000 Subject: [PATCH] Permit garbage collection on any compiler generated memory allocation. From-SVN: r170760 --- libgo/runtime/go-new.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgo/runtime/go-new.c b/libgo/runtime/go-new.c index e673d14fc95..a592174e50f 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 * -- 2.30.2