[libvirt] [PATCH 1/2] openvz: Remove unnecessary Unref in openvzLoadDomains

Ján Tomko jtomko at redhat.com
Mon Apr 16 12:15:41 UTC 2018


On Wed, Apr 11, 2018 at 12:57:07PM -0400, John Ferlan wrote:
>Since there is no way to get to cleanup without dom being NULL,
>this is a unnecessary Unref.
>

Actually, if we could get there it would be a bug, because
virDomainObjListAdd does not give us an extra reference, it just leaves
the domain locked.

>Signed-off-by: John Ferlan <jferlan at redhat.com>
>---
> src/openvz/openvz_conf.c | 1 -
> 1 file changed, 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180416/fb644dfb/attachment-0001.sig>


More information about the libvir-list mailing list