aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorKulikov Vasiliy <[email protected]>2010-07-16 20:16:54 +0400
committerMark Brown <[email protected]>2010-07-17 19:45:56 +0100
commit50e8ce14698273d3c493b2e66f323f6b18eac099 (patch)
tree9d55a58490c8cf585421e05705e6c54315c77dc8 /fs/jbd/commit.c
parent51b6dfb627d785ee92c2bd1e159e2de47cdc29c3 (diff)
ASoC: imx: check kzalloc() result and fix memory leak
If kzalloc() fails we must exit with -ENOMEM. Also we must free allocated runtime->private_data on error as it would be lost on next call to snd_imx_open(). Signed-off-by: Kulikov Vasiliy <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions