From: "Mcnamara, John" <john.mcnamara@intel.com>
To: "Power, Ciara" <ciara.power@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "Power, Ciara" <ciara.power@intel.com>,
"stable@dpdk.org" <stable@dpdk.org>,
"Wiles, Keith" <keith.wiles@intel.com>
Subject: Re: [dpdk-stable] [PATCH] metrics: fix resource leak on memory allocation fail
Date: Thu, 17 Sep 2020 16:08:40 +0000 [thread overview]
Message-ID: <SN6PR11MB3086C11395EE6312C5AF4068FC3E0@SN6PR11MB3086.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20200917150341.66298-1-ciara.power@intel.com>
> 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@dpdk.org
Acked-by: John McNamara <john.mcnamara@intel.com>
next prev parent reply other threads:[~2020-09-17 16:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-17 15:03 Ciara Power
2020-09-17 16:08 ` Mcnamara, John [this message]
2020-09-21 23:43 ` [dpdk-stable] [dpdk-dev] " Honnappa Nagarahalli
2020-09-22 10:28 ` Power, Ciara
2020-11-03 21:36 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SN6PR11MB3086C11395EE6312C5AF4068FC3E0@SN6PR11MB3086.namprd11.prod.outlook.com \
--to=john.mcnamara@intel.com \
--cc=ciara.power@intel.com \
--cc=dev@dpdk.org \
--cc=keith.wiles@intel.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).