diff options
author | Jean-Christophe DUBOIS <jcd@tribudubois.net> | 2009-11-15 19:18:15 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-02 08:57:42 -0600 |
commit | 5f6eab3f10770984cf73cb4326e27bea0b799e71 (patch) | |
tree | 9d9e7c6162a7587cf3f696b04795846dcc06ebf9 /hw/nand.c | |
parent | 49cd8046dd773c725b2fabe3ebb5ebc85aec0d18 (diff) | |
download | qemu-5f6eab3f10770984cf73cb4326e27bea0b799e71.tar.gz qemu-5f6eab3f10770984cf73cb4326e27bea0b799e71.tar.bz2 qemu-5f6eab3f10770984cf73cb4326e27bea0b799e71.zip |
Fix qemu_free use in nand.c
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>
Diffstat (limited to 'hw/nand.c')
-rw-r--r-- | hw/nand.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |