[alsa-devel] [PATCH V2 2/3] ASoC: don't leak on error in snd_dmaengine_pcm_register
Mark Brown
broonie at kernel.org
Mon Dec 9 19:43:48 CET 2013
On Tue, Dec 03, 2013 at 02:26:33PM -0700, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> If snd_dmaengine_pcm_register()'s call to snd_soc_add_platform() fails,
> all objects allocated during registration are leaked. Fix this by adding
> error-handling code.
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/20131209/3c273ecf/attachment-0001.sig>
More information about the Alsa-devel
mailing list