> -----Original Message----- > From: David Marchand [mailto:david.march...@redhat.com] > Sent: Friday, July 17, 2020 5:21 PM > To: wangyunjian <wangyunj...@huawei.com>; Hemant Agrawal > <hemant.agra...@nxp.com> > Cc: dev <dev@dpdk.org>; Sachin Saxena <sachin.sax...@nxp.com>; Lilijun > (Jerry) <jerry.lili...@huawei.com>; xudingke <xudin...@huawei.com>; dpdk > stable <sta...@dpdk.org> > Subject: Re: [dpdk-dev] [PATCH 1/1] bus/fslmc: fix memory leak in secondary > process > > On Thu, Jul 9, 2020 at 12:40 PM wangyunjian <wangyunj...@huawei.com> > wrote: > > > > From: Yunjian Wang <wangyunj...@huawei.com> > > > > In fslmc_process_mcp(), we allocate memory for 'dev_name' but not > > released before return in secondary process. > > dev_name is not used anymore since a69f79300262 ("bus/fslmc: support multi > VFIO group") We can remove it entirely in this function.
Thanks for your suggestion, will include it in next version. Yunjian > > -- > David Marchand