From: Mark Brown <broonie@kernel.org>
To: Patrick Lai <plai@codeaurora.org>
Cc: liam.r.girdwood@linux.intel.com, alsa-devel@alsa-project.org
Subject: Re: [PATCH] ASoC: pcm: free path list before exiting from error conditions
Date: Wed, 5 Mar 2014 11:47:06 +0800 [thread overview]
Message-ID: <20140305034706.GZ13126@sirena.org.uk> (raw)
In-Reply-To: <1393789977-29091-1-git-send-email-plai@codeaurora.org>
[-- Attachment #1.1: Type: text/plain, Size: 301 bytes --]
On Sun, Mar 02, 2014 at 11:52:57AM -0800, Patrick Lai wrote:
> dpcm_path_get() allocates dynamic memory to hold path list.
> Corresponding dpcm_path_put() must be called to free the memory.
> dpcm_path_put() is not called under several error conditions.
> This leads to memory leak.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2014-03-05 3:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-02 19:52 [PATCH] ASoC: pcm: free path list before exiting from error conditions Patrick Lai
2014-03-05 3:47 ` Mark Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-03-02 19:47 Patrick Lai
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=20140305034706.GZ13126@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=plai@codeaurora.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