projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e0a24e
)
ui/vdagent: reset outbuf on disconnect
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Thu, 5 Aug 2021 13:57:07 +0000
(17:57 +0400)
committer
Marc-André Lureau
<marcandre.lureau@redhat.com>
Tue, 31 Aug 2021 13:25:14 +0000
(17:25 +0400)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <
20210805135715
.857938-11-marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
ui/vdagent.c
patch
|
blob
|
history
diff --git
a/ui/vdagent.c
b/ui/vdagent.c
index 1a29016e0723102c4706bbfe24592477b2711083..3770c58b6cb4bdd80b1e7c20cfc72e86ded06a9f 100644
(file)
--- a/
ui/vdagent.c
+++ b/
ui/vdagent.c
@@
-723,6
+723,7
@@
static void vdagent_chr_accept_input(Chardev *chr)
static void vdagent_disconnect(VDAgentChardev *vd)
{
+ buffer_reset(&vd->outbuf);
vdagent_reset_bufs(vd);
vd->caps = 0;
if (vd->mouse_hs) {