commit | 7267c0947d7e8ae5dff7bafd932c3bc285f43e5c | [log] [tgz] |
---|---|---|
author | Anthony Liguori <aliguori@us.ibm.com> | Sat Aug 20 22:09:37 2011 -0500 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Sat Aug 20 23:01:08 2011 -0500 |
tree | 9aa05d6e05ed83e67bf014f6745a3081b8407dc5 | |
parent | 14015304b662e8f8ccce46c5a6927af6a14c510b [diff] [blame] |
Use glib memory allocation and free functions qemu_malloc/qemu_free no longer exist after this commit. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/linux-user/main.c b/linux-user/main.c index 8e15474..95e3fe6 100644 --- a/linux-user/main.c +++ b/linux-user/main.c
@@ -3216,7 +3216,7 @@ } target_argv[target_argc] = NULL; - ts = qemu_mallocz (sizeof(TaskState)); + ts = g_malloc0 (sizeof(TaskState)); init_task_state(ts); /* build Task State */ ts->info = info;