summaryrefslogtreecommitdiffstats
path: root/hw/misc/ivshmem.c
diff options
context:
space:
mode:
authorGonglei2016-07-08 05:37:36 +0200
committerGerd Hoffmann2016-07-12 08:34:13 +0200
commit5a693efda84d7df5136cc2bd31c959bb1530b0c9 (patch)
tree79d2368f261ef83d1efbf5fa4e3f66fb1aec47cc /hw/misc/ivshmem.c
parentMerge remote-tracking branch 'remotes/cohuck/tags/s390x-20160711' into staging (diff)
downloadqemu-5a693efda84d7df5136cc2bd31c959bb1530b0c9.tar.gz
qemu-5a693efda84d7df5136cc2bd31c959bb1530b0c9.tar.xz
qemu-5a693efda84d7df5136cc2bd31c959bb1530b0c9.zip
vnc: fix incorrect checking condition when updating client
vs->disconnecting is set to TRUE and vs->ioc is closed, but vs->ioc isn't set to NULL, so that the vnc_disconnect_finish() isn't invoked when you update client in vnc_update_client() after vnc_disconnect_start invoked. Let's using change the checking condition to avoid resource leak. Signed-off-by: Haibin Wang <wanghaibin.wang@huawei.com> Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 1467949056-81208-1-git-send-email-arei.gonglei@huawei.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/misc/ivshmem.c')
0 files changed, 0 insertions, 0 deletions