projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db69b2
)
Fix qemu_free use in nseries.c
author
Jean-Christophe DUBOIS
<jcd@tribudubois.net>
Sun, 15 Nov 2009 18:18:17 +0000
(19:18 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Wed, 2 Dec 2009 14:57:42 +0000
(08:57 -0600)
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>
hw/nseries.c
patch
|
blob
|
history
diff --git
a/hw/nseries.c
b/hw/nseries.c
index 79f7387ffd9c763ef31beb1672c93009c21aba3e..0273eeea3fd10f3213c71f515c5b0e0ae5972345 100644
(file)
--- 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)