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

Yuanhan Liu yliu at fridaylinux.org
Wed Nov 1 16:33:51 CET 2017


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>

	--yliu


More information about the dev mailing list