aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-05-01 04:11:35 -0400
committerIngo Molnar <mingo@elte.hu>2010-05-01 07:11:25 -0400
commit048c852051d2bd5da54a4488bc1f16b0fc74c695 (patch)
treec1482ae433455c1aa5f2f20c68773f79b60881c8 /Makefile
parent66f41d4c5c8a5deed66fdcc84509376c9a0bf9d8 (diff)
perf: Fix resource leak in failure path of perf_event_open()
perf_event_open() kfrees event after init failure which doesn't release all resources allocated by perf_event_alloc(). Use free_event() instead. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Paul Mackerras <paulus@au1.ibm.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: <stable@kernel.org> LKML-Reference: <4BDBE237.1040809@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions