From: David Marchand <david.marchand@redhat.com>
To: Xueming Li <xuemingl@nvidia.com>
Cc: dev <dev@dpdk.org>, Gaetan Rivet <grive@u256.net>
Subject: Re: [dpdk-dev] [PATCH v1] test: fix devargs test case memory leak
Date: Sat, 23 Oct 2021 14:40:55 +0200 [thread overview]
Message-ID: <CAJFAV8zp38uqKMV0UziN1Ri_cn337Fqq3-Lyjn-EwJiGUXkj6w@mail.gmail.com> (raw)
In-Reply-To: <20211023121755.169290-1-xuemingl@nvidia.com>
On Sat, Oct 23, 2021 at 2:18 PM Xueming Li <xuemingl@nvidia.com> wrote:
>
> In layer argument test function, kvargs are parsed and checked without
> free. This patch calls rte_kvargs_free() function to avoid memory leak.
>
Coverity issue: 373631
> Fixes: a4975cd20dca ("test: add devargs test cases")
>
> Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
--
David Marchand
next prev parent reply other threads:[~2021-10-23 12:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-23 12:17 Xueming Li
2021-10-23 12:40 ` David Marchand [this message]
2021-10-25 7:42 ` 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=CAJFAV8zp38uqKMV0UziN1Ri_cn337Fqq3-Lyjn-EwJiGUXkj6w@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=grive@u256.net \
--cc=xuemingl@nvidia.com \
/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).