[dpdk-dev] [dpdk-stable] [PATCH] net/virtio: fix memory leak

Thomas Monjalon thomas at monjalon.net
Sun Nov 12 19:53:59 CET 2017


01/11/2017 16:33, Yuanhan Liu:
> On Fri, Oct 27, 2017 at 11:54:09AM +0800, Pengzhen Liu wrote:
> > In function eth_virtio_dev_init(), dynamic memory stored
> > in "eth_dev->data->mac_addrs" variable and it is not freed
> > when function return,
> > this is a possible memory leak.
> > 
> > Fixes: 8ced1542f7a3 ("net/virtio: eth_dev->data->mac_addrs is not freed")
> > Cc: stable at dpdk.org
> > Signed-off-by: Pengzhen Liu <liupengzhen3 at huawei.com>
> 
> Acked-by: Yuanhan Liu <yliu at fridaylinux.org>

Applied, thanks



More information about the dev mailing list