Hi Honnappa,
>-----Original Message----- >From: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> >Sent: Tuesday 22 September 2020 00:43 >To: Mcnamara, John <john.mcnam...@intel.com>; Power, Ciara ><ciara.po...@intel.com>; dev@dpdk.org >Cc: Power, Ciara <ciara.po...@intel.com>; sta...@dpdk.org; Wiles, Keith ><keith.wi...@intel.com>; nd <n...@arm.com>; Honnappa Nagarahalli ><honnappa.nagaraha...@arm.com>; nd <n...@arm.com> >Subject: RE: [dpdk-dev] [dpdk-stable] [PATCH] metrics: fix resource leak on >memory allocation fail > ><snip> > >> >> > If an error occurred when allocating memory for metrics or names, >> > the function returned without freeing allocated memory. This is now >> > fixed to avoid the resource leak in the case that either metrics or >> > names had been successfully allocated memory. >> > >> > Coverity issue: 362053 >> > Fixes: c5b7197f662e ("telemetry: move some functions to metrics >> > library") >> > Cc: sta...@dpdk.org >> >> Acked-by: John McNamara <john.mcnam...@intel.com> >> >This is fixed in https://patches.dpdk.org/patch/75323/. Can you please check >if that suffices? I left some comments on that patch, but seeing as it is fixing the same issue, I will remove this patch. Thanks, Ciara