diff --git a/module/mes/libc.mes b/module/mes/libc.mes index d4d500e2..688a0f3b 100644 --- a/module/mes/libc.mes +++ b/module/mes/libc.mes @@ -298,8 +298,8 @@ malloc (int size) { //void *p = brk (0); char *p = 0; - if (!g_malloc_base) g_malloc_base = p; p = brk (0); + if (!g_malloc_base) g_malloc_base = p; brk (p+size); return p; }