[libvirt] PATCH: Clear reference after closing connection object
Daniel P. Berrange
berrange at redhat.com
Wed Apr 1 12:36:57 UTC 2009
On Tue, Mar 31, 2009 at 02:47:08PM +0200, Daniel Veillard wrote:
> On Tue, Mar 31, 2009 at 01:16:31PM +0100, Daniel P. Berrange wrote:
> > In the python bindings, if you call close() it will close the connection
> > and release the handle, but it doesn't clear the python reference to the
> > C object - self._o. So later in garbage colection __del__ runs and tries
> > to free the already free'd object
>
> Yes, makes sense to avoid some of the errors reported previously !
>
> ACK,
Committed
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list