Change memory allocation api to "g_malloc".
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 12 Jul 2013 09:12:36 +0000 (18:12 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 12 Jul 2013 09:12:36 +0000 (18:12 +0900)
A "0" initialize is not necessary to this memory allocation.

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
vl.c

diff --git a/vl.c b/vl.c
index 2f39c0d..7597c60 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -4231,7 +4231,7 @@ int main(int argc, char **argv, char **envp)
     }
 #ifdef CONFIG_MARU
     // W/A for preserve larger continuous heap for RAM.
-    preallocated_ptr = g_malloc0(ram_size);
+    preallocated_ptr = g_malloc(ram_size);
 #endif
 
     hax_pre_init(ram_size);