From 7267c0947d7e8ae5dff7bafd932c3bc285f43e5c Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Sat, 20 Aug 2011 22:09:37 -0500 Subject: Use glib memory allocation and free functions qemu_malloc/qemu_free no longer exist after this commit. Signed-off-by: Anthony Liguori --- ui/vnc-enc-hextile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/vnc-enc-hextile.c') diff --git a/ui/vnc-enc-hextile.c b/ui/vnc-enc-hextile.c index 364a491157..d2905c88f0 100644 --- a/ui/vnc-enc-hextile.c +++ b/ui/vnc-enc-hextile.c @@ -70,8 +70,8 @@ int vnc_hextile_send_framebuffer_update(VncState *vs, int x, uint8_t *last_fg, *last_bg; VncDisplay *vd = vs->vd; - last_fg = (uint8_t *) qemu_malloc(vd->server->pf.bytes_per_pixel); - last_bg = (uint8_t *) qemu_malloc(vd->server->pf.bytes_per_pixel); + last_fg = (uint8_t *) g_malloc(vd->server->pf.bytes_per_pixel); + last_bg = (uint8_t *) g_malloc(vd->server->pf.bytes_per_pixel); has_fg = has_bg = 0; for (j = y; j < (y + h); j += 16) { for (i = x; i < (x + w); i += 16) { -- cgit v1.2.3