From: David Miller <davem@davemloft.net>
To: julia@diku.dk
Cc: samuel@sortiz.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 1/5] drivers/net/irda: Eliminate memory leak
Date: Wed, 25 Aug 2010 16:37:46 -0700 (PDT) [thread overview]
Message-ID: <20100825.163746.15256125.davem@davemloft.net> (raw)
In-Reply-To: <Pine.LNX.4.64.1008241638130.15172@ask.diku.dk>
From: Julia Lawall <julia@diku.dk>
Date: Tue, 24 Aug 2010 16:38:33 +0200 (CEST)
> From: Julia Lawall <julia@diku.dk>
>
> dev_alloc_skb allocates some memory, so that memory should be freed before
> leaving the function in an error case.
>
> Corrected some typos in a nearby comment as well.
>
> A simplified version of the semantic match that finds this problem is:
> (http://coccinelle.lip6.fr/)
...
> Signed-off-by: Julia Lawall <julia@diku.dk>
Applied.
next prev parent reply other threads:[~2010-08-25 23:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-24 14:38 [PATCH 1/5] drivers/net/irda: Eliminate memory leak Julia Lawall
2010-08-25 23:37 ` David Miller [this message]
[not found] <1282776100-21671-1-git-send-email-julia@diku.dk>
[not found] ` <1282776100-21671-2-git-send-email-julia@diku.dk>
2010-08-25 21:57 ` Julia Lawall
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=20100825.163746.15256125.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=julia@diku.dk \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=samuel@sortiz.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).