From: Nikolay Shirokovskiy Date: Wed, 4 Jul 2018 07:30:43 +0000 (+0300) Subject: qemu: fix typo in vnc port releasing X-Git-Tag: v4.8.0-rc1~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30f9a64cbd834ae28cecd0556ae1691a28f9ad37;p=thirdparty%2Flibvirt.git qemu: fix typo in vnc port releasing Signed-off-by: Nikolay Shirokovskiy Reviewed-by: John Ferlan --- diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index eb9904b7ba..6d608e4ef5 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -7207,7 +7207,7 @@ void qemuProcessStop(virQEMUDriverPtr driver, if (graphics->data.vnc.autoport) { virPortAllocatorRelease(graphics->data.vnc.port); } else if (graphics->data.vnc.portReserved) { - virPortAllocatorRelease(graphics->data.spice.port); + virPortAllocatorRelease(graphics->data.vnc.port); graphics->data.vnc.portReserved = false; } if (graphics->data.vnc.websocketGenerated) {