]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add virBufferFreeAndReset() and replace free()
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 9 Dec 2009 23:00:50 +0000 (00:00 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 9 Dec 2009 23:00:50 +0000 (00:00 +0100)
commit1b9d0744937a2f44b88577408f9eb9a879c00881
treea6c583d89c3ec14fd8e55aa09a8b196c563b355c
parent723bfda1ce8d6a385e16ad232d6f940226317c0d
Add virBufferFreeAndReset() and replace free()

Replace free(virBufferContentAndReset()) with virBufferFreeAndReset().
Update documentation and replace all remaining calls to free() with
calls to VIR_FREE(). Also add missing calls to virBufferFreeAndReset()
and virReportOOMError() in OOM error cases.
41 files changed:
HACKING
daemon/libvirtd.c
docs/hacking.html.in
src/conf/capabilities.c
src/conf/domain_conf.c
src/conf/interface_conf.c
src/conf/network_conf.c
src/conf/node_device_conf.c
src/conf/secret_conf.c
src/conf/storage_conf.c
src/esx/esx_driver.c
src/esx/esx_vi.c
src/esx/esx_vi_methods.c
src/esx/esx_vmx.c
src/libvirt_private.syms
src/node_device/node_device_udev.c
src/opennebula/one_client.c
src/opennebula/one_conf.c
src/openvz/openvz_conf.c
src/openvz/openvz_driver.c
src/phyp/phyp_driver.c
src/qemu/qemu_conf.c
src/qemu/qemu_driver.c
src/remote/remote_driver.c
src/security/security_selinux.c
src/security/virt-aa-helper.c
src/storage/storage_backend.c
src/storage/storage_driver.c
src/uml/uml_conf.c
src/util/buf.c
src/util/buf.h
src/util/conf.c
src/util/logging.c
src/util/qparams.c
src/util/util.c
src/util/virterror.c
src/xen/block_stats.c
src/xen/xend_internal.c
src/xen/xm_internal.c
src/xen/xs_internal.c
tools/virsh.c