]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Make the virDomainListFree helper more universal
authorPeter Krempa <pkrempa@redhat.com>
Wed, 29 Apr 2015 09:54:58 +0000 (11:54 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 11 May 2015 06:28:53 +0000 (08:28 +0200)
commita5e89ae16e8098e9b77a98517f2d10a5d60e7737
tree34343406d18053d4d410fcea5f8647804221ef72
parent8910e063dbafc09695b2100c80213be569abb7ef
util: Make the virDomainListFree helper more universal

Extend it to a universal helper used for clearing lists of any objects.
Note that the argument type is specifically void * to allow implicit
typecasting.

Additionally add a helper that works on non-NULL terminated arrays once
we know the length.
daemon/remote.c
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_driver.c
src/util/virobject.c
src/util/virobject.h
tools/virsh-domain-monitor.c