git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a5470f
)
staging: ft1000: ft1000-usb: ft1000_hw.c: Fix a potential memory leak.
author
Rickard Strandqvist
<rickard_strandqvist@spectrumdigital.se>
Mon, 29 Dec 2014 12:41:33 +0000
(13:41 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 23:22:31 +0000
(15:22 -0800)
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>
No differences found