diff options
| author | Tom Zanussi <[email protected]> | 2009-08-08 15:49:09 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-08-08 15:55:34 +0000 |
| commit | 96b2de313b1e0e02aea80ee47df6a2b5cbdf8e13 (patch) | |
| tree | f6d1a22d6ab587d346f642fe89db9d75401da57b /lib/flex_array.c | |
| parent | ring-buffer: Fix memleak in ring_buffer_free() (diff) | |
| download | kernel-96b2de313b1e0e02aea80ee47df6a2b5cbdf8e13.tar.gz kernel-96b2de313b1e0e02aea80ee47df6a2b5cbdf8e13.zip | |
tracing/filters: Don't use pred on alloc failure
Dan Carpenter sent me a fix to prevent pred from being used if
it couldn't be allocated. I noticed the same problem also
existed for the create_pred() case and added a fix for that.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Tom Zanussi <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Li Zefan <[email protected]>
LKML-Reference: <1249746549.6453.29.camel@tropicana>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
