diff options
author | Frediano Ziglio <freddy77@gmail.com> | 2011-08-31 09:25:35 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-02 10:35:41 -0500 |
commit | a74cd8cc37896402a1793217d5059a0b0489155a (patch) | |
tree | eed91e91e08c4afa16f882168c492ab9b470611a /vl.c | |
parent | 1901cb14edb6b6d4c20986a77b2fcff67bd19755 (diff) |
rename qemu_malloc and related to glib names for coherence
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2144,20 +2144,20 @@ static const QEMUOption *lookup_opt(int argc, char **argv, static gpointer malloc_and_trace(gsize n_bytes) { void *ptr = malloc(n_bytes); - trace_qemu_malloc(n_bytes, ptr); + trace_g_malloc(n_bytes, ptr); return ptr; } static gpointer realloc_and_trace(gpointer mem, gsize n_bytes) { void *ptr = realloc(mem, n_bytes); - trace_qemu_realloc(mem, n_bytes, ptr); + trace_g_realloc(mem, n_bytes, ptr); return ptr; } static void free_and_trace(gpointer mem) { - trace_qemu_free(mem); + trace_g_free(mem); free(mem); } |