From: Kouya Shimura Subject: [PATCH] Fix memory leak in xend Date: Thu, 13 Sep 2007 13:55:14 +0900 Message-ID: <7kabrrupu5.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="HUgLr7RRGn" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --HUgLr7RRGn Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Fix memory leak in xend. Signed-off-by: Kouya Shimura --HUgLr7RRGn Content-Type: text/plain Content-Disposition: inline; filename="leak.patch" Content-Transfer-Encoding: 7bit diff -r a00cc97b392a tools/python/xen/lowlevel/xs/xs.c --- a/tools/python/xen/lowlevel/xs/xs.c Wed Sep 12 09:43:33 2007 +0100 +++ b/tools/python/xen/lowlevel/xs/xs.c Thu Sep 13 13:43:04 2007 +0900 @@ -365,6 +365,7 @@ static PyObject *xspy_set_permissions(Xs goto exit; } + free(xsperms); Py_INCREF(Py_None); return Py_None; --HUgLr7RRGn Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --HUgLr7RRGn--