diff options
| author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2014-12-29 13:41:33 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-17 15:22:31 -0800 |
| commit | 64ed8f51f97304f811f34e89afdccf7bf9836a93 (patch) | |
| tree | 001efd2daa1db5b9e718dff6779530390b142f4f /tools/perf/scripts/python/syscall-counts.py | |
| parent | 0a5470f80ce7731160bbf8173e9df1ebeeb7e9e6 (diff) | |
staging: ft1000: ft1000-usb: ft1000_hw.c: Fix a potential memory leak.
Avoid allocate memory if we will exit the function.
Was found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
