[libvirt] [PATCH] Free object after *Destroy in python bindings

Richard W.M. Jones rjones at redhat.com
Tue May 20 09:51:43 UTC 2008


On Mon, May 19, 2008 at 09:25:55PM +0100, Daniel P. Berrange wrote:
> The docs are wrong. Destory merely hard-kills the object being managed.
> It does not free memory associated with the object.

No, the documentation says it frees the objects (and has done
forever), so it should free them.  I have code which depends on this
behaviour.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the libvir-list mailing list