[alsa-devel] [PATCH v2] ASoC: wm0010: Fix resource leak
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Alsa-devel