From: Rickard Strandqvist Date: Mon, 29 Dec 2014 12:41:33 +0000 (+0100) Subject: staging: ft1000: ft1000-usb: ft1000_hw.c: Fix a potential memory leak. X-Git-Tag: fixes-v4.0-rc1~99^2~338 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64ed8f51f97304f811f34e89afdccf7bf9836a93;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed