diff options
| author | Cong Ding <[email protected]> | 2012-12-22 17:12:26 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-07 14:03:32 -0800 |
| commit | 0902468846460274018100bec29e2b236f70ab14 (patch) | |
| tree | c608a7eb03d255d6197c2407f117471c036203bb /tools/perf/scripts/python | |
| parent | 78855c7a7c3db183ddb311cd832a137ef7a5e83a (diff) | |
staging: echo.c: fix memory leakage
we should check the return value of calling function fir16_create(): a NULL
value means the memory allocation fails.
this patch also cleans up the error handling in function function oslec_create()
Signed-off-by: Cong Ding <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions