aboutsummaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-08-18 14:54:43 -0600
committerEric Blake <eblake@redhat.com>2011-08-19 09:13:54 -0600
commite472fe25c73b7a37fcbfe280c128db504c643938 (patch)
treee8deed6041683fc585f53dcfe99ef957ccf9b7e0 /cfg.mk
parenttest: rewrite test to match change in behavior (diff)
downloadlibvirt-e472fe25c73b7a37fcbfe280c128db504c643938.tar.gz
libvirt-e472fe25c73b7a37fcbfe280c128db504c643938.tar.bz2
libvirt-e472fe25c73b7a37fcbfe280c128db504c643938.zip
maint: treat more libxml2 functions as free-like
* cfg.mk (useless_free_options): Add xmlFreeDoc, xmlBufferFree. * src/esx/esx_vi.c (ESX_VI__TEMPLATE__FREE): Fix offenders. * tools/virsh.c (cmdFreecell, cmdVNCDisplay, cmdTTYConsole) (cmdDetachInterface, cmdDetachDisk, cmdSnapshotCreate) (cmdSnapshotCreateAs, cmdSnapshotList, cmdSnapshotParent): Likewise.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index 2eb73e69d..9f1f6c5ff 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -165,7 +165,9 @@ useless_free_options = \
--name=virStoragePoolSourceFree \
--name=virStorageVolDefFree \
--name=virThreadPoolFree \
+ --name=xmlBufferFree \
--name=xmlFree \
+ --name=xmlFreeDoc \
--name=xmlXPathFreeContext \
--name=xmlXPathFreeObject