]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-char: avoid leak in qemu_chr_open_pp_fd
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Jan 2016 10:25:45 +0000 (11:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 Jan 2016 14:58:11 +0000 (15:58 +0100)
commit27ef9cb0e77eda46618ea084adffa63ebde5be80
tree883091ccb15f807bfd1f6290364cdd7c2c71fcf3
parent8485140fa07f839aef65f7f782a958804d745615
qemu-char: avoid leak in qemu_chr_open_pp_fd

drv leaks if qemu_chr_alloc returns an error.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qemu-char.c