[PATCH v1] net/iavf: fix resource leak issue

Thomas Monjalon thomas at monjalon.net
Wed May 11 23:17:04 CEST 2022


11/05/2022 17:31, Zhang, Qi Z:
> From: Thomas Monjalon <thomas at monjalon.net>
> > 11/05/2022 13:46, Zhang, Qi Z:
> > > From: Wu, Wenjun1 <wenjun1.wu at intel.com>
> > > >
> > > > This patch fixes resource leak issue reported by coverity.
> > > >
> > > > Coverity issue: 378017
> > > > Fixes: b14e8a57b9fe ("net/iavf: support quanta size configuration")
> > > >
> > > > Signed-off-by: Wenjun Wu <wenjun1.wu at intel.com>
> > >
> > > Acked-by: Qi Zhang <qi.z.zhang at intel.com>
> > >
> > > Applied to dpdk-next-net-intel.
> > 
> > In the title, the word "issue" is useless.
> > It would be more interesting to precise where is the leak.
> > 
> 
> Added below into commit log in dpdk-next-net-intel.
> 
> kvlist should be freed before return an error due to invalid quanta size. 

It does not explain what is the scenario. What is the impacted feature?




More information about the dev mailing list