]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: Properly cleanup after libxlDomObjFromDomain
authorJohn Ferlan <jferlan@redhat.com>
Fri, 9 Mar 2018 16:47:59 +0000 (11:47 -0500)
committerJim Fehlig <jfehlig@suse.com>
Fri, 16 Mar 2018 20:24:39 +0000 (14:24 -0600)
commit4e6fcdb6fa838d57a278dacd21bc6932edabec67
treeae9eb236e46fcf82b79be304aedb4f0494857170
parente39a7cd2561528964ed2088884edbc1bc8615506
libxl: Properly cleanup after libxlDomObjFromDomain

Commit id '9ac945078' altered libxlDomObjFromDomain to return
a locked *and* ref counted object for some specific purposes;
however, it neglected to alter all the consumers of the helper
to use virDomainObjEndAPI thus leaving many objects with extra
ref counts.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_driver.c