From: Mark Brown <broonie@kernel.org>
To: weiyj_lk@163.com
Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.de,
dan.carpenter@oracle.com, pawel.piskorski@intel.com,
yang.jie@intel.com, han.lu@intel.com,
jarkko.nikula@linux.intel.com,
Wei Yongjun <yongjun_wei@trendmicro.com.cn>,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] ASoC: Intel: sst_hsw: remove kfree for memory allocated with devm_kzalloc
Date: Fri, 17 Apr 2015 14:31:49 +0100 [thread overview]
Message-ID: <20150417133149.GD10513@sirena.org.uk> (raw)
In-Reply-To: <1429191978-25839-1-git-send-email-weiyj_lk@163.com>
[-- Attachment #1: Type: text/plain, Size: 290 bytes --]
On Thu, Apr 16, 2015 at 09:46:18PM +0800, weiyj_lk@163.com wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> It's not necessary to free memory allocated with devm_kzalloc
> and using kfree leads to a double free.
Like Yao said a fix for this has already been applied.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
prev parent reply other threads:[~2015-04-17 14:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-16 13:46 [PATCH -next] ASoC: Intel: sst_hsw: remove kfree for memory allocated with devm_kzalloc weiyj_lk
2015-04-16 14:08 ` Jarkko Nikula
2015-04-16 21:34 ` [alsa-devel] " Jin, Yao
2015-04-17 13:31 ` Mark Brown [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=20150417133149.GD10513@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=dan.carpenter@oracle.com \
--cc=han.lu@intel.com \
--cc=jarkko.nikula@linux.intel.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pawel.piskorski@intel.com \
--cc=perex@perex.cz \
--cc=tiwai@suse.de \
--cc=weiyj_lk@163.com \
--cc=yang.jie@intel.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