From: Jean-Christophe DUBOIS Date: Sun, 15 Nov 2009 18:18:15 +0000 (+0100) Subject: Fix qemu_free use in nand.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5f6eab3f10770984cf73cb4326e27bea0b799e71;p=qemu.git Fix qemu_free use in nand.c nand.c is using free() instead of qemu_free(). Fix it. Signed-off-by: Jean-Christophe DUBOIS Signed-off-by: Anthony Liguori --- diff --git a/hw/nand.c b/hw/nand.c index 37fd5243f3..838f8bc890 100644 --- 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