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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
src/openvz/openvz_conf.c | 1 -
1 file changed, 1 deletion(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux