Message ID | 1457708548-14093-30-git-send-email-mst@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/qemu-char.c b/qemu-char.c index fc4611d..3813efd 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2774,6 +2774,7 @@ static void tcp_chr_disconnect(CharDriverState *chr) s->listen_tag = qio_channel_add_watch( QIO_CHANNEL(s->listen_ioc), G_IO_IN, tcp_chr_accept, chr, NULL); } + tcp_set_msgfds(chr, NULL, 0); remove_fd_in_watch(chr); object_unref(OBJECT(s->sioc)); s->sioc = NULL;