[dpdk-stable] [dpdk-dev] [PATCH] metrics: fix resource leak on memory allocation fail
Honnappa Nagarahalli
Honnappa.Nagarahalli at arm.com
Tue Sep 22 01:43:12 CEST 2020
<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: stable at dpdk.org
>
> Acked-by: John McNamara <john.mcnamara at intel.com>
>
This is fixed in https://patches.dpdk.org/patch/75323/. Can you please check if that suffices?
More information about the stable
mailing list