aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2015-09-04 15:45:00 -0700
committerLinus Torvalds <[email protected]>2015-09-04 16:54:41 -0700
commit5869b5064b0950afc447610c0f5d4134b71d9e94 (patch)
treec2322eaf65bb956b063dd2712caab6b2347db169 /tools/perf/util/trace-event-scripting.c
parenta068acf2ee77693e0bf39d6e07139ba704f461c3 (diff)
smpboot: fix memory leak on error handling
The cpumask is allocated before threads get created. If the latter step fails, we need to free the cpumask. Signed-off-by: Frederic Weisbecker <[email protected]> Reviewed-by: Chris Metcalf <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Cc: Chris Metcalf <[email protected]> Cc: Don Zickus <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ulrich Obergfell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions