Fix minor memory leak in xend
PATCH 1/1 Fix minor memory leak in xend
Fix minor memory leak in xend.
Signed-off-by Kouya Shimura <[email protected]>
tools/python/xen/lowlevel/xc/xc.c +1 -0
@@ -346,6 +346,7 @@ static PyObject *pyxc_domain_getinfo(XcOPy_DECREF (list);if ( pyhandle !=NULL ) {Py_DECREF (pyhandle); }if ( info_dict !=NULL ) {Py_DECREF (info_dict); } +free (info);return NULL ; }for ( j =0 ; j <sizeof (xen_domain_handle_t); j++ )
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel