Re: [dpdk-stable] [PATCH] net/virtio: fix memory leak
From: Yuanhan Liu <hidden>
Date: 2017-11-01 15:49:05
From: Yuanhan Liu <hidden>
Date: 2017-11-01 15:49:05
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:quoted
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@dpdk.org Signed-off-by: Pengzhen Liu <redacted>Acked-by: Yuanhan Liu <redacted>
BTW, I have just seen you have send multiple versions out regarding this
patch. Next time please tag your patches with version, something like:
$ git format-patch -v 2 ...
--yliu