Commit Message

From: Paolo Bonzini <pbonzini@redhat.com>
If there is already a fd in s->msgfd before recvmsg it is
closed by parts that this patch does not touch. So, only
one descriptor can be "leaked" by attaching it to a command
other than getfd.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
monitor.c | 9 ---------
qemu-char.c | 9 +++------
2 files changed, 3 insertions(+), 15 deletions(-)