On 12/19/2011 02:47 AM, Osier Yang wrote:
On 2011年12月19日 16:12, ajia(a)redhat.com wrote:
> From: Alex Jia<ajia(a)redhat.com>
>
> * Detected by valgrind. Leak introduced in commit 5ab109f.
Wow - present since 0.4.1!
> +++ b/python/libvirt-override.c
> @@ -1520,6 +1520,7 @@ libvirt_virConnectOpenAuth(PyObject *self
> ATTRIBUTE_UNUSED, PyObject *args) {
>
> c_retval = virConnectOpenAuth(name,&auth, flags);
> LIBVIRT_END_ALLOW_THREADS;
> + free(auth.credtype);
> py_retval = libvirt_virConnectPtrWrap((virConnectPtr) c_retval);
> return(py_retval);
> }
ACK
Pushed.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org