All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: linux-sh@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sh: fix seq_file memory leak
Date: Tue, 24 Jun 2008 05:50:09 +0000	[thread overview]
Message-ID: <20080624055009.GA22890@linux-sh.org> (raw)
In-Reply-To: <4860866F.7050703@cn.fujitsu.com>

On Tue, Jun 24, 2008 at 01:30:23PM +0800, Li Zefan wrote:
> When using single_open(), single_release() should be used instead
> of seq_release(), otherwise there is a memory leak.
> 
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>

Good catch. Applied, thanks.

WARNING: multiple messages have this Message-ID (diff)
From: Paul Mundt <lethal@linux-sh.org>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: linux-sh@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sh: fix seq_file memory leak
Date: Tue, 24 Jun 2008 14:50:09 +0900	[thread overview]
Message-ID: <20080624055009.GA22890@linux-sh.org> (raw)
In-Reply-To: <4860866F.7050703@cn.fujitsu.com>

On Tue, Jun 24, 2008 at 01:30:23PM +0800, Li Zefan wrote:
> When using single_open(), single_release() should be used instead
> of seq_release(), otherwise there is a memory leak.
> 
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>

Good catch. Applied, thanks.

  reply	other threads:[~2008-06-24  5:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24  5:30 [PATCH] sh: fix seq_file memory leak Li Zefan
2008-06-24  5:30 ` Li Zefan
2008-06-24  5:50 ` Paul Mundt [this message]
2008-06-24  5:50   ` Paul Mundt

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=20080624055009.GA22890@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=lizf@cn.fujitsu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.