aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2010-07-23 05:53:49 +0000
committerMark Brown <[email protected]>2010-08-03 07:45:20 +0100
commitdb1e18de98c8bdf8a2bfc07623ff67621aa4a332 (patch)
tree3681c2d5823befcc606d95bd06f5c4ca310986ae /tools/perf/util/trace-event-scripting.c
parent62f5ad6733b872e14d671b615850eb5bd1cd7e30 (diff)
ASoC: wm8940: fix a memory leak if wm8940_register return error
This patch adds checking for wm8940_register return value, and does kfree(wm8940) if wm8940_register() fail. Signed-off-by: Axel Lin <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions