From 58b41bc2a5369bf3cbee61e9a34cbb0a5af28315 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Thu, 8 Aug 2019 03:48:26 +0000 Subject: [PATCH] changed moo->mmgr to moo->_mmgr in lib/std.c --- moo/lib/std.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moo/lib/std.c b/moo/lib/std.c index 626d516..7c53b80 100644 --- a/moo/lib/std.c +++ b/moo/lib/std.c @@ -776,7 +776,7 @@ oops: return (void*)(ptr + 1); #else - return MOO_MMGR_ALLOC(moo->mmgr, size); + return MOO_MMGR_ALLOC(moo->_mmgr, size); #endif } @@ -790,7 +790,7 @@ static void free_heap (moo_t* moo, void* ptr) actual_ptr = (moo_oow_t*)ptr - 1; munmap (actual_ptr, *actual_ptr); #else - MOO_MMGR_FREE(moo->mmgr, ptr); + MOO_MMGR_FREE(moo->_mmgr, ptr); #endif }