qemu-char: Fix use of free() instead of g_free()
commit2e02e18ba7e1b22289876166e6ed0c5f848ac20a
authorStefan Weil <sw@weilnetz.de>
Fri, 7 Oct 2011 05:38:46 +0000 (7 07:38 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 14 Oct 2011 13:38:13 +0000 (14 14:38 +0100)
tree56160c88b4434c702044336d8ab4a9b052598414
parent3a846906c9c31e01efc0ce0cde39124ec9acb252
qemu-char: Fix use of free() instead of g_free()

cppcheck reported these errors:

qemu-char.c:1667: error: Mismatching allocation and deallocation: s
qemu-char.c:1668: error: Mismatching allocation and deallocation: chr
qemu-char.c:1769: error: Mismatching allocation and deallocation: s
qemu-char.c:1770: error: Mismatching allocation and deallocation: chr

Tested-by: Dongxu Wang <wdongxu@linux.vnet.ibm.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qemu-char.c