Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ftrace: Fix selftest goto location on error
In the second iteration of trace_selftest_ops(), the error goto label is wrong in the case where trace_selftest_test_global_cnt is off. In the case of error, it leaks the dynamic ops that was allocated. Cc: [email protected] Fixes: 95950c2 ("ftrace: Add self-tests for multiple function trace users") Signed-off-by: Steven Rostedt (VMware) <[email protected]>
- Loading branch information