diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-06-11 17:06:53 +0900 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-07-01 07:13:40 -0400 |
commit | 1f61be007e16a5d60b1cf868aa30d87f181e8e14 (patch) | |
tree | c35734b8355041e7bec6bf6ff9f4777abbc79fe5 /init | |
parent | a737e6dd7bfbd6d87ce1525840e6957bcb6e47e6 (diff) | |
download | linux-1f61be007e16a5d60b1cf868aa30d87f181e8e14.tar.gz linux-1f61be007e16a5d60b1cf868aa30d87f181e8e14.tar.bz2 linux-1f61be007e16a5d60b1cf868aa30d87f181e8e14.zip |
ftrace: Fix memory leak on failure path in ftrace_allocate_pages()
As struct ftrace_page is managed in a single linked list, it should
free from the start page.
Link: http://lkml.kernel.org/p/1402474014-28655-1-git-send-email-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions