linux/drivers/staging/ft1000/ft1000-usb
Rickard Strandqvist 64ed8f51f9 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>
2015-01-17 15:22:31 -08:00
..
Makefile
ft1000_debug.c staging: ft1000: Logging message neatening 2014-11-03 16:36:35 -08:00
ft1000_download.c staging: ft1000: Logging message neatening 2014-11-03 16:36:35 -08:00
ft1000_hw.c staging: ft1000: ft1000-usb: ft1000_hw.c: Fix a potential memory leak. 2015-01-17 15:22:31 -08:00
ft1000_ioctl.h staging: ft1000: Whitespace neatening 2014-11-03 16:35:32 -08:00
ft1000_usb.c staging: ft1000: Logging message neatening 2014-11-03 16:36:35 -08:00
ft1000_usb.h staging: ft1000: Logging message neatening 2014-11-03 16:36:35 -08:00
ft3000.img