qemu: Release correct websocket port

This commit is contained in:
Jiri Denemark 2013-07-04 21:16:08 +02:00
parent d4ce75ba76
commit 0d7dc70824

View File

@ -4222,7 +4222,7 @@ retry:
}
if (graphics->data.vnc.websocket) {
ignore_value(virPortAllocatorRelease(driver->webSocketPorts,
graphics->data.vnc.port));
graphics->data.vnc.websocket));
}
}
if (graphics->type == VIR_DOMAIN_GRAPHICS_TYPE_SPICE &&