[alsa-devel] [PATCH v2] ASoC: wm0010: Fix resource leak

Mark Brown broonie at kernel.org
Wed Jul 31 15:51:00 CEST 2013

On Wed, Jul 31, 2013 at 01:28:52PM +0100, Dimitris Papastamos wrote:
> If kzalloc() fails for `img' then we are going to leak the memory
> for `out'.  We are freeing the memory of all the tx/rx transfers
> but the tx/rx buf pointers will be NULL if we drop out earlier.

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/20130731/fc266564/attachment.sig>

More information about the Alsa-devel mailing list