mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
2db69b2372
commit
6f0953b1a4
|
@ -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);
|
fb_blank = memset(qemu_malloc(800 * 480 * 2), 0xff, 800 * 480 * 2);
|
||||||
/* Display Memory Data Port */
|
/* Display Memory Data Port */
|
||||||
chip->block(chip->opaque, 1, fb_blank, 800 * 480 * 2, 800);
|
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)
|
static void n8x0_dss_setup(struct n800_s *s)
|
||||||
|
|
Loading…
Reference in New Issue