[dpdk-stable] [PATCH] metrics: fix resource leak on memory allocation fail
Mcnamara, John
john.mcnamara at intel.com
Thu Sep 17 18:08:40 CEST 2020
> 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>
More information about the stable
mailing list