On Thu, Sep 17, 2020 at 5:06 PM Ciara Power <[email protected]> wrote:
>
> 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: [email protected]
>

Gaurav reported the same issue and proposed a patch, but I went with
yours as it describes the issue, is minimal and has the proper tags
for backport.

Reported-by: Gaurav Singh <[email protected]>
> Signed-off-by: Ciara Power <[email protected]>
Acked-by: John McNamara <[email protected]>


Applied, thanks.

-- 
David Marchand

Reply via email to