]> git.proxmox.com Git - qemu.git/commit
qemu-char: minor mux chardev fixes
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Jun 2013 06:39:53 +0000 (08:39 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 28 Jun 2013 18:10:33 +0000 (22:10 +0400)
commitdc2c4eca89ec5ee7b7a4c2563c991a14a7c5ee84
tree60a43a2c527761707500783317f0a48974816beb
parent99aec0123ce5ba307dc357c5bf1e0f22d2be0931
qemu-char: minor mux chardev fixes

mux failure path has a memory leak.  creating a mux chardev can't
fail though, so just assert() that instead of fixing an error path
which never ever runs anyway ...

Also fix bid being leaked while being at it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qemu-char.c