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

2017-11-12 Thread Thomas Monjalon
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: 8c

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

2017-11-01 Thread Yuanhan Liu
On Wed, Nov 01, 2017 at 11:33:51PM +0800, Yuanhan Liu wrote: > 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 m

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

2017-11-01 Thread 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_a