projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49cd804
)
Fix qemu_free use in nand.c
author
Jean-Christophe DUBOIS
<jcd@tribudubois.net>
Sun, 15 Nov 2009 18:18:15 +0000
(19:18 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Wed, 2 Dec 2009 14:57:42 +0000
(08:57 -0600)
nand.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/nand.c
patch
|
blob
|
history
diff --git
a/hw/nand.c
b/hw/nand.c
index 37fd5243f377202dcc18834359e5a6a6942f865c..838f8bc890e7d72b73ecc67f9713b4c885784b30 100644
(file)
--- a/
hw/nand.c
+++ b/
hw/nand.c
@@
-507,9
+507,9
@@
void nand_done(NANDFlashState *s)
}
if (!s->bdrv || s->mem_oob)
- free(s->storage);
+
qemu_
free(s->storage);
- free(s);
+
qemu_
free(s);
}
#else