diff options
author | Masami Hiramatsu <[email protected]> | 2014-01-16 09:39:44 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-01-16 16:26:50 -0300 |
commit | 981d05adf2e2acc328abb929a6ed3536c0d41c5f (patch) | |
tree | 0382a51e80b8f2f5db12264ab2964b996c05d51e /lib/mpi/mpi-internal.h | |
parent | a7077234d240f16ead29ffeb3cc17ceada50ea5f (diff) |
perf probe: Release allocated probe_trace_event if failed
To fix a memory leak, release all allocated probe_trace_event on the
error path of try_to_find_probe_trace_events.
Reported-by: David Ahern <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: "David A. Long" <[email protected]>
Cc: "Steven Rostedt (Red Hat)" <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions