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>
This commit is contained in:
Jean-Christophe DUBOIS 2009-11-15 19:18:15 +01:00 committed by Anthony Liguori
parent 49cd8046dd
commit 5f6eab3f10
1 changed files with 2 additions and 2 deletions

View File

@ -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