diff options
author | Eric Blake <eblake@redhat.com> | 2011-08-18 14:54:43 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-08-19 09:13:54 -0600 |
commit | e472fe25c73b7a37fcbfe280c128db504c643938 (patch) | |
tree | e8deed6041683fc585f53dcfe99ef957ccf9b7e0 /cfg.mk | |
parent | test: rewrite test to match change in behavior (diff) | |
download | libvirt-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.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -165,7 +165,9 @@ useless_free_options = \ --name=virStoragePoolSourceFree \ --name=virStorageVolDefFree \ --name=virThreadPoolFree \ + --name=xmlBufferFree \ --name=xmlFree \ + --name=xmlFreeDoc \ --name=xmlXPathFreeContext \ --name=xmlXPathFreeObject |