From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Wei Yongjun <weiyj.lk@gmail.com>
Cc: yongjun_wei@trendmicro.com.cn, linux-wireless@vger.kernel.org,
linville@tuxdriver.com, ath10k@lists.infradead.org
Subject: Re: [PATCH -next] ath10k: fix possible memory leak in ath10k_pci_probe()
Date: Wed, 6 Nov 2013 10:50:19 +0200 [thread overview]
Message-ID: <87fvr9ud6c.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <CAPgLHd9o1oGjjM=9B2H0tB41t8Kinp_1Djp6aA=sW5Eo5M7jfA@mail.gmail.com> (Wei Yongjun's message of "Wed, 30 Oct 2013 13:24:39 +0800")
Wei Yongjun <weiyj.lk@gmail.com> writes:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> memory is malloced in ath10k_pci_probe() and should be freed before
> leaving from the error handling cases, otherwise it will cause
> memory leak.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Thanks, applied.
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Wei Yongjun <weiyj.lk@gmail.com>
Cc: <linville@tuxdriver.com>, <yongjun_wei@trendmicro.com.cn>,
<linux-wireless@vger.kernel.org>, <ath10k@lists.infradead.org>
Subject: Re: [PATCH -next] ath10k: fix possible memory leak in ath10k_pci_probe()
Date: Wed, 6 Nov 2013 10:50:19 +0200 [thread overview]
Message-ID: <87fvr9ud6c.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <CAPgLHd9o1oGjjM=9B2H0tB41t8Kinp_1Djp6aA=sW5Eo5M7jfA@mail.gmail.com> (Wei Yongjun's message of "Wed, 30 Oct 2013 13:24:39 +0800")
Wei Yongjun <weiyj.lk@gmail.com> writes:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> memory is malloced in ath10k_pci_probe() and should be freed before
> leaving from the error handling cases, otherwise it will cause
> memory leak.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Thanks, applied.
--
Kalle Valo
next prev parent reply other threads:[~2013-11-06 8:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-30 5:24 [PATCH -next] ath10k: fix possible memory leak in ath10k_pci_probe() Wei Yongjun
2013-10-30 5:24 ` Wei Yongjun
2013-11-06 8:50 ` Kalle Valo [this message]
2013-11-06 8:50 ` Kalle Valo
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=87fvr9ud6c.fsf@kamboji.qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--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 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.