From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViQZz-0000j9-2Y for qemu-devel@nongnu.org; Mon, 18 Nov 2013 10:17:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViQZu-0005nc-9g for qemu-devel@nongnu.org; Mon, 18 Nov 2013 10:17:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViQZu-0005nX-1y for qemu-devel@nongnu.org; Mon, 18 Nov 2013 10:17:30 -0500 Date: Mon, 18 Nov 2013 17:20:41 +0200 From: "Michael S. Tsirkin" Message-ID: <20131118152041.GD25899@redhat.com> References: <1384782445-26527-1-git-send-email-akong@redhat.com> <20131118151408.GB4083@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131118151408.GB4083@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] [PATCH] virtio-net: fix the memory leak in rxfilter_notify() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: vyasevic@redhat.com, Amos Kong , qemu-devel@nongnu.org, stefanha@redhat.com On Mon, Nov 18, 2013 at 04:14:08PM +0100, Stefan Hajnoczi wrote: > On Mon, Nov 18, 2013 at 09:47:25PM +0800, Amos Kong wrote: > > object_get_canonical_path() returns a gchar*, it should be freeed by the > > caller. > > > > Signed-off-by: Amos Kong > > --- > > hw/net/virtio-net.c | 8 ++++---- > > 1 file changed, 4 insertions(+), 4 deletions(-) > > Thanks, applied to my net tree (will send pull request for QEMU 1.7): > https://github.com/stefanha/qemu/commits/net > > Stefan I'd prefer it for my comment to be addressed first ...