mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +00:00
qemu_process: spice: don't release used port
The port is stored in graphics configuration and it will also get released in qemuProcessStop in case of error. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1397440 Signed-off-by: Pavel Hrdina <phrdina@redhat.com> (cherry picked from commit c23b7b81db58c61b0adc98095dca7bfbad74fa79)
This commit is contained in:
parent
b6be55d7c5
commit
b23980eb3d
@ -3634,7 +3634,6 @@ qemuProcessSPICEAllocatePorts(virQEMUDriverPtr driver,
|
||||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
virPortAllocatorRelease(driver->remotePorts, port);
|
||||
virObjectUnref(cfg);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user