aboutsummaryrefslogtreecommitdiff
path: root/hw/nseries.c
diff options
context:
space:
mode:
authorJean-Christophe DUBOIS <jcd@tribudubois.net>2009-11-15 19:18:17 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-02 08:57:42 -0600
commit6f0953b1a493d9df822051168a904d589e5248a4 (patch)
tree3b54c13acea8c7e45af1a3363ecba2d7a3d30102 /hw/nseries.c
parent2db69b23723a9353ccf6bd70f4f33e071ff9251e (diff)
downloadqemu-6f0953b1a493d9df822051168a904d589e5248a4.zip
qemu-6f0953b1a493d9df822051168a904d589e5248a4.tar.gz
qemu-6f0953b1a493d9df822051168a904d589e5248a4.tar.bz2
Fix qemu_free use in nseries.c
nseries.c is using free() instead of qemu_free(). Fix it. Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/nseries.c')
-rw-r--r--hw/nseries.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nseries.c b/hw/nseries.c
index 79f7387..0273eee 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)