From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se3b0-000558-QF for qemu-devel@nongnu.org; Mon, 11 Jun 2012 08:19:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Se3au-000299-MU for qemu-devel@nongnu.org; Mon, 11 Jun 2012 08:19:46 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:44158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se3au-00028s-AP for qemu-devel@nongnu.org; Mon, 11 Jun 2012 08:19:40 -0400 Received: by lbok6 with SMTP id k6so3158912lbo.4 for ; Mon, 11 Jun 2012 05:19:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1337024840-28273-1-git-send-email-sw@weilnetz.de> References: <1337024840-28273-1-git-send-email-sw@weilnetz.de> Date: Mon, 11 Jun 2012 13:19:37 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1.1] monitor: Fix memory leak with readline completion List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Anthony Liguori , qemu-devel@nongnu.org On Mon, May 14, 2012 at 8:47 PM, Stefan Weil wrote: > Each string which is shown during readline completion in the QEMU monitor > is allocated dynamically but currently never deallocated. > > Add the missing loop which calls g_free for the allocated strings. > > Signed-off-by: Stefan Weil > --- > =A0readline.c | =A0 =A03 +++ > =A01 file changed, 3 insertions(+) Reviewed-by: Stefan Hajnoczi