From: David Miller <davem@davemloft.net>
To: weiyj.lk@gmail.com
Cc: isdn@linux-pingi.de, yongjun_wei@trendmicro.com.cn,
netdev@vger.kernel.org
Subject: Re: [PATCH] mISDN: fix possible memory leak in hfcmulti_init()
Date: Mon, 03 Sep 2012 15:37:53 -0400 (EDT) [thread overview]
Message-ID: <20120903.153753.1794768537163408659.davem@davemloft.net> (raw)
In-Reply-To: <CAPgLHd_vRu-ACoVhf2LwL_1pYXuvXArindYOpHh6T-syn_CVUg@mail.gmail.com>
From: Wei Yongjun <weiyj.lk@gmail.com>
Date: Mon, 3 Sep 2012 15:31:00 +0800
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> hc has been allocated in this function and missing free it before
> leaving from some error handling cases.
>
> spatch with a semantic match is used to found this problem.
> (http://coccinelle.lip6.fr/)
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Applied, thanks.
prev parent reply other threads:[~2012-09-03 19:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-03 7:31 [PATCH] mISDN: fix possible memory leak in hfcmulti_init() Wei Yongjun
2012-09-03 19:37 ` David Miller [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=20120903.153753.1794768537163408659.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=isdn@linux-pingi.de \
--cc=netdev@vger.kernel.org \
--cc=weiyj.lk@gmail.com \
--cc=yongjun_wei@trendmicro.com.cn \
/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