提交 5f6eab3f 编写于 作者: J Jean-Christophe DUBOIS 提交者: Anthony Liguori

Fix qemu_free use in nand.c

nand.c is using free() instead of qemu_free().
Fix it.
Signed-off-by: NJean-Christophe DUBOIS <jcd@tribudubois.net>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 49cd8046
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册