qemu-char: Plug memory leak on qemu_chr_open_pty() error path
commita4e26048526d8d5b181f9a0a7d4f82b8441c5dfd
authorMarkus Armbruster <armbru@redhat.com>
Fri, 11 Nov 2011 09:40:05 +0000 (11 10:40 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 11 Nov 2011 18:49:51 +0000 (11 12:49 -0600)
tree35f54063c1c29b232eeb12816a80dec0d324e06e
parent1299c63168e9f3d47b681b8c505d39f577ddd253
qemu-char: Plug memory leak on qemu_chr_open_pty() error path

Spotted by Coverity.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-char.c