Fixed couple of memory leaks wrt to virXXXDestroy APIs, and clarify docs to match reality

This commit is contained in:
Daniel P. Berrange
2008-05-21 20:53:30 +00:00
parent 922fbeb8b7
commit e866e302f8
6 changed files with 32 additions and 13 deletions

View File

@@ -1,3 +1,15 @@
Wed May 21 16:24:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
Fix up misc memory leaks / incorrect docs (Cole Robinson)
* qemud/remote.c: Free the virDomainPtr object in the
virDomainDestroy handler to avoid leak
* src/hash.c: Added more ref count debug
* src/libvirt.c: Clarified docs on virXXXDestroy to
match reality
* src/remote_internal.c: Free virDomain/Network objects
after dispatching RPC error
* src/virsh.c: Added some more virDomainFree calls
Wed May 21 15:42:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
* python/generator.py: Don't free the underlying virDomainPtr