From: Christian Engelmayer Date: Wed, 11 Feb 2015 19:33:15 +0000 (+0100) Subject: staging: vt6656: Fix possible leak in vnt_download_firmware() X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~575 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d34add05946ffda90ad5c4f0f71af2819748c660;p=pandora-kernel.git staging: vt6656: Fix possible leak in vnt_download_firmware() When failing to allocate buffer memory, function vnt_download_firmware() goes through the wrong exit path and fails to release the already requested firmware. Thus use the correct cleanup. Detected by Coverity CID 1269128. Signed-off-by: Christian Engelmayer Reviewed-by: Martin Kepplinger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed