From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUymG-0004qn-UO for qemu-devel@nongnu.org; Mon, 28 Nov 2011 05:49:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUymF-0006F9-Mu for qemu-devel@nongnu.org; Mon, 28 Nov 2011 05:49:36 -0500 Date: Mon, 28 Nov 2011 10:49:30 +0000 From: Stefan Hajnoczi Message-ID: <20111128104930.GA7173@stefanha-thinkpad.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] os-win32.c : fix memory leak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhi Hui Li Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com On Thu, Nov 24, 2011 at 04:27:52PM +0800, Zhi Hui Li wrote: > string is allocated by g_malloc, will not be used after putenv, should be > free before return. > > Signed-off-by: Li Zhi Hui > --- > os-win32.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) Thanks, applied to the trivial patches -next tree: http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next Stefan