summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2021-07-09 14:41:00 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2021-07-09 14:41:00 +0800
commit542d7d646069d7a90cf5fa3cb56620c4ea3dc9e7 (patch)
tree3fd1f34344996b793bb076f9d93b1f755694b9a9 /core
parenta5b2988a0105deb37c14eb62ed8638eb15789ec3 (diff)
Fix memfree parameter name
Diffstat (limited to 'core')
-rw-r--r--core/os/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/memory.h b/core/os/memory.h
index 10e678103d..9d09626b8c 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 *) {}