[libvirt] [PATCH] qemu: hotplug: Don't leak saved error on failure in qemuHotplugRemoveManagedPR

John Ferlan jferlan at redhat.com
Mon Jul 23 13:59:09 UTC 2018



On 07/23/2018 09:41 AM, Peter Krempa wrote:
> If we'd fail to enter or exit the monitor the saved error would be
> leaked. Introduced in 8498a1e2221 .
> 
> Pointed out by coverity.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/qemu/qemu_hotplug.c | 14 +++++++++-----
>  1 file changed, 9 insertions(+), 5 deletions(-)
> 

Tks -

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list