From 6f0953b1a493d9df822051168a904d589e5248a4 Mon Sep 17 00:00:00 2001 From: Jean-Christophe DUBOIS Date: Sun, 15 Nov 2009 19:18:17 +0100 Subject: Fix qemu_free use in nseries.c nseries.c is using free() instead of qemu_free(). Fix it. Signed-off-by: Jean-Christophe DUBOIS Signed-off-by: Anthony Liguori --- hw/nseries.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/nseries.c b/hw/nseries.c index 79f7387ffd..0273eeea3f 100644 --- a/hw/nseries.c +++ b/hw/nseries.c @@ -711,7 +711,7 @@ static void n800_dss_init(struct rfbi_chip_s *chip) fb_blank = memset(qemu_malloc(800 * 480 * 2), 0xff, 800 * 480 * 2); /* Display Memory Data Port */ chip->block(chip->opaque, 1, fb_blank, 800 * 480 * 2, 800); - free(fb_blank); + qemu_free(fb_blank); } static void n8x0_dss_setup(struct n800_s *s) -- cgit v1.2.3