[alsa-devel] [PATCH V2 2/3] ASoC: don't leak on error in snd_dmaengine_pcm_register
lars at metafoo.de
Fri Dec 6 10:30:38 CET 2013
On 12/03/2013 10:26 PM, 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.
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
Yep, looks good. Thanks. This one should probably go in as a fix.
Acked-by: Lars-Peter Clausen <lars at metafoo.de>
More information about the Alsa-devel