diff options
author | Dan Carpenter <[email protected]> | 2012-07-11 09:35:08 +0300 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2012-07-11 19:56:26 -0400 |
commit | 93574fcc5b50cc7b8834698acb2ce947e5b6a5dc (patch) | |
tree | f40191d94dfc121737e1acb3463874f8dc702ba7 /net/lapb/lapb_timer.c | |
parent | c3b7cdf180090d2686239a75bb0ae408108ed749 (diff) |
tracing: Check for allocation failure in __tracing_open()
Clean up and return -ENOMEM on if the kzalloc() fails.
This also prevents a potential crash, as the pointer that failed to
allocate would be later used.
Link: http://lkml.kernel.org/r/[email protected]
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions