DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Shreyansh Jain <shreyansh.jain@nxp.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] raw/skeleton_rawdev: fix memory leak on test failure
Date: Thu, 25 Oct 2018 00:54:07 +0200	[thread overview]
Message-ID: <1826553.Bfjk9qCGBg@xps> (raw)
In-Reply-To: <20181024053302.22937-1-shreyansh.jain@nxp.com>

24/10/2018 07:33, Shreyansh Jain:
> In skeleton_rawdev unit tests, a malloc'd memory was leaking in case
> the next sequential test fails. This fix moves the free of the
> malloc'd memory above the failing test.
> 
> Coverity issue: 260402
> 
> Fixes: 55ca1b0f2151 ("raw/skeleton: add test cases")
> Cc: shreyansh.jain@nxp.com
> 
> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>

Applied, thanks

      reply	other threads:[~2018-10-24 22:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-24  5:33 Shreyansh Jain
2018-10-24 22:54 ` Thomas Monjalon [this message]

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=1826553.Bfjk9qCGBg@xps \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=shreyansh.jain@nxp.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).