commit | 5f6eab3f10770984cf73cb4326e27bea0b799e71 | [log] [tgz] |
---|---|---|
author | Jean-Christophe DUBOIS <jcd@tribudubois.net> | Sun Nov 15 19:18:15 2009 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Wed Dec 02 08:57:42 2009 -0600 |
tree | 9d9e7c6162a7587cf3f696b04795846dcc06ebf9 | |
parent | 49cd8046dd773c725b2fabe3ebb5ebc85aec0d18 [diff] [blame] |
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>
diff --git a/hw/nand.c b/hw/nand.c index 37fd524..838f8bc 100644 --- a/hw/nand.c +++ b/hw/nand.c
@@ -507,9 +507,9 @@ } if (!s->bdrv || s->mem_oob) - free(s->storage); + qemu_free(s->storage); - free(s); + qemu_free(s); } #else