mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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:
parent
49cd8046dd
commit
5f6eab3f10
1 changed files with 2 additions and 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue