projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f65b3da
)
Change memory allocation api to "g_malloc".
author
SeokYeon Hwang
<syeon.hwang@samsung.com>
Fri, 12 Jul 2013 09:12:36 +0000
(18:12 +0900)
committer
SeokYeon 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
patch
|
blob
|
history
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_malloc
0
(ram_size);
+ preallocated_ptr = g_malloc(ram_size);
#endif
hax_pre_init(ram_size);