aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorDimitris Papastamos <[email protected]>2013-07-31 13:28:52 +0100
committerMark Brown <[email protected]>2013-07-31 14:50:34 +0100
commit4f8b19143d74e1c3360b21640065765a12bafb1b (patch)
tree79b6f89da72d486951f90404f62af1e2fbbf1611 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent5ae90d8e467e625e447000cb4335c4db973b1095 (diff)
ASoC: wm0010: Fix resource leak
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. Signed-off-by: Dimitris Papastamos <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions