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/module.c b/module.c index e77d569..91f0e61 100644 --- a/module.c +++ b/module.c
@@ -59,7 +59,7 @@ ModuleEntry *e; ModuleTypeList *l; - e = qemu_mallocz(sizeof(*e)); + e = g_malloc0(sizeof(*e)); e->init = fn; l = find_type(type);