aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kepplinger <[email protected]>2017-09-13 21:14:19 +0200
committerArnaldo Carvalho de Melo <[email protected]>2017-09-18 09:40:21 -0300
commitc896f85a7c15ab9d040ffac8b8003e47996602a2 (patch)
treef65e995175ee475efdb93622228ba5425a8ec8c1 /tools/perf/scripts/python
parent333b566559019b146905c623bde7f455c1d5add3 (diff)
perf tools: Fix leaking rec_argv in error cases
Let's free the allocated rec_argv in case we return early, in order to avoid leaking memory. This adds free() at a few very similar places across the tree where it was missing. Signed-off-by: Martin Kepplinger <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Martin kepplinger <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions