]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: use the return value of virObjectRef directly
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Thu, 14 Nov 2019 17:44:19 +0000 (18:44 +0100)
committerCole Robinson <crobinso@redhat.com>
Fri, 13 Dec 2019 19:37:00 +0000 (14:37 -0500)
commita5493c47a01de22e24d2156a51a02d9299d4542c
tree0a107eb14cf5e9a9d1e573244e28787741ffdff4
parentd2406f5718596117e6bf16899b979f5960b9ef69
rpc: use the return value of virObjectRef directly

Use the return value of virObjectRef directly. This way, it's easier
for another reader to identify the reason why the additional reference
is required.

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/rpc/virnetserver.c