From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Freimann Subject: Re: [PATCH v3 2/3] vhost: free guest_pages in vhost_backend_cleanup() Date: Thu, 11 May 2017 16:31:11 +0200 Message-ID: <20170511143111.c234ugdumit4u3mr@dhcp-192-218.str.redhat.com> References: <1494500208-78788-1-git-send-email-dariuszx.stojaczyk@intel.com> <1494513192-85863-1-git-send-email-dariuszx.stojaczyk@intel.com> <1494513192-85863-3-git-send-email-dariuszx.stojaczyk@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Dariusz Stojaczyk To: dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id B9FA7DE0 for ; Thu, 11 May 2017 16:31:16 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1494513192-85863-3-git-send-email-dariuszx.stojaczyk@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, May 11, 2017 at 04:33:11PM +0200, Dariusz Stojaczyk wrote: > This patch fixes a memory leak. > virtio_net::guest_pages is allocated in vhost_setup_mem_table(), > reallocated in add_one_guest_page(), but never freed. > > Signed-off-by: Dariusz Stojaczyk > --- > lib/librte_vhost/vhost_user.c | 4 ++++ > 1 file changed, 4 insertions(+) > Reviewed-by: Jens Freimann