From 542d7d646069d7a90cf5fa3cb56620c4ea3dc9e7 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Fri, 9 Jul 2021 14:41:00 +0800 Subject: [PATCH] Fix memfree parameter name --- core/os/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/memory.h b/core/os/memory.h index 10e678103df..9d09626b8cf 100644 --- a/core/os/memory.h +++ b/core/os/memory.h @@ -80,7 +80,7 @@ void operator delete(void *p_mem, void *p_pointer, size_t check, const char *p_d #define memalloc(m_size) Memory::alloc_static(m_size) #define memrealloc(m_mem, m_size) Memory::realloc_static(m_mem, m_size) -#define memfree(m_size) Memory::free_static(m_size) +#define memfree(m_mem) Memory::free_static(m_mem) _ALWAYS_INLINE_ void postinitialize_handler(void *) {}