[PATCH 2/5] ch_monitor: Correctly close and ref the virCHMonitor
Laine Stump
laine at redhat.com
Sun Oct 3 19:52:49 UTC 2021
On 10/3/21 3:43 PM, Laine Stump wrote:
> cleanup:
> + if (mon)
> + virCHMonitorClose(mon);
Oops, I also meant to point out that the "if (mon)" is unnecessary here,
because (as with all similar functions in libvirt) virCHMonitorClose()
can be called with a null argument, and will just be a NOP in that case.
If you want me to split and push, I'll fix that up before pushing too.
More information about the libvir-list
mailing list