Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-27 Thread Xia, Chenbo
> -Original Message- > From: Gaoxiang Liu > Sent: Monday, July 26, 2021 10:42 PM > To: Xia, Chenbo ; dev@dpdk.org; liugaoxi...@huawei.com > Cc: Gaoxiang Liu > Subject: [PATCH] net/virtio: fix memory leak of interrupt handle > > Free memory of interrupt handle in virtio_user_dev_uninit()

Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-26 Thread Xia, Chenbo
[PATCH] net/virtio: fix memory leak of interrupt > handle > > Hi Gaoxiang, > > > -Original Message- > > From: Gaoxiang Liu > > Sent: Monday, July 26, 2021 10:42 PM > > To: Xia, Chenbo ; dev@dpdk.org; liugaoxi...@huawei.com > > Cc: Gaoxiang Liu &

Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-26 Thread Xia, Chenbo
Hi Gaoxiang, > -Original Message- > From: Gaoxiang Liu > Sent: Monday, July 26, 2021 10:42 PM > To: Xia, Chenbo ; dev@dpdk.org; liugaoxi...@huawei.com > Cc: Gaoxiang Liu > Subject: [PATCH] net/virtio: fix memory leak of interrupt handle > > Free memory of interrupt handle in virtio_user

[dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-26 Thread Gaoxiang Liu
Free memory of interrupt handle in virtio_user_dev_uninit() to avoid memory leak. when virtio user dev closes, memory of interrupt handle is not freed that is allocated in virtio_user_fill_intr_handle(). Fixes: 3d4fb6fd2505 <"net/virtio-user: support Rx interrupt"> Signed-off-by: Gaoxiang Liu --

Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-26 Thread Maxime Coquelin
On 7/26/21 1:59 PM, Gaoxiang Liu wrote: > Free memory of interrupt handle in virtio_user_dev_uninit() to > avoid memory leak. > when virtio user dev closes, the "intr_handle" memory is not freed > that is allocated in virtio_user_fill_intr_handle(). > > Fixes: 3d4fb6fd2505 <"net/virtio-user: su

[dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-26 Thread Gaoxiang Liu
Free memory of interrupt handle in virtio_user_dev_uninit() to avoid memory leak. when virtio user dev closes, the "intr_handle" memory is not freed that is allocated in virtio_user_fill_intr_handle(). Fixes: 3d4fb6fd2505 <"net/virtio-user: support Rx interrupt"> Signed-off-by: Gaoxiang Liu ---