[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] PATCH: Clear reference after closing connection object
- From: Daniel Veillard <veillard redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] PATCH: Clear reference after closing connection object
- Date: Tue, 31 Mar 2009 14:47:08 +0200
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,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]