From: Karel Zak <kzak@redhat.com>
To: Cong Wang <amwang@redhat.com>
Cc: util-linux@vger.kernel.org, Cong Wang <xiyou.wangcong@gmail.com>
Subject: Re: [Patch] lib/mangle.c: fix a memory leak in the test case
Date: Thu, 21 Jun 2012 10:44:56 +0200 [thread overview]
Message-ID: <20120621084456.GA17085@x2.net.home> (raw)
In-Reply-To: <1340181725-5382-1-git-send-email-amwang@redhat.com>
On Wed, Jun 20, 2012 at 04:42:05PM +0800, Cong Wang wrote:
> From: Cong Wang <xiyou.wangcong@gmail.com>
>
> Marek reported there is a memory leak in lib/mangle.c
>
> CC mangle.o
> mangle.c:160:9: warning: Memory is never released; potential leak of memory pointed to by 'ss'
We usually ignore free-before-exit, but test programs are exception.
Applied, thanks.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
prev parent reply other threads:[~2012-06-21 8:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-20 8:42 [Patch] lib/mangle.c: fix a memory leak in the test case Cong Wang
2012-06-21 8:44 ` Karel Zak [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=20120621084456.GA17085@x2.net.home \
--to=kzak@redhat.com \
--cc=amwang@redhat.com \
--cc=util-linux@vger.kernel.org \
--cc=xiyou.wangcong@gmail.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).