Re: [libvirt] PATCH: Clear reference after closing connection object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]