[dpdk-dev] [PATCH v3 2/3] vhost: free guest_pages in vhost_backend_cleanup()
Jens Freimann
jfreiman at redhat.com
Thu May 11 16:31:11 CEST 2017
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 <dariuszx.stojaczyk at intel.com>
> ---
> lib/librte_vhost/vhost_user.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
Reviewed-by: Jens Freimann <jfreimann at redhat.com>
More information about the dev
mailing list