[alsa-devel] [PATCH] ASoC: pcm: free path list before exiting from error conditions

Mark Brown broonie at kernel.org
Wed Mar 5 04:47:06 CET 2014

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140305/585db22a/attachment.sig>

More information about the Alsa-devel mailing list