diff options
author | Marc-André Lureau | 2021-08-05 15:56:59 +0200 |
---|---|---|
committer | Marc-André Lureau | 2021-08-31 15:25:14 +0200 |
commit | e7c55746f1eab99429ac1505536f3bbcab20df8f (patch) | |
tree | 55c58c51431d419dd1958658e08d523f203bed59 /ui/vdagent.c | |
parent | ui/vdagent: fix leak on error path (diff) | |
download | qemu-e7c55746f1eab99429ac1505536f3bbcab20df8f.tar.gz qemu-e7c55746f1eab99429ac1505536f3bbcab20df8f.tar.xz qemu-e7c55746f1eab99429ac1505536f3bbcab20df8f.zip |
ui/vdagent: remove copy-pasta comment
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210805135715.857938-3-marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/vdagent.c')
-rw-r--r-- | ui/vdagent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/vdagent.c b/ui/vdagent.c index f6ef8d1993..5ae5734c81 100644 --- a/ui/vdagent.c +++ b/ui/vdagent.c @@ -516,7 +516,7 @@ static void vdagent_chr_recv_clipboard(VDAgentChardev *vd, VDAgentMessage *msg) qemu_clipboard_set_data(&vd->cbpeer, vd->cbinfo[s], type, size, data, true); break; - case VD_AGENT_CLIPBOARD_RELEASE: /* data */ + case VD_AGENT_CLIPBOARD_RELEASE: if (vd->cbinfo[s] && vd->cbinfo[s]->owner == &vd->cbpeer) { /* set empty clipboard info */ |