summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristian Engelmayer <cengelma@gmx.at>2015-02-11 22:33:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-07 03:26:58 +0300
commitd34add05946ffda90ad5c4f0f71af2819748c660 (patch)
tree6746a1d6e93457bb7ecdf32e5c2a62913abd3ae6 /include/linux
parent6498613d2cf23269a6a483a751f61655115de251 (diff)
downloadlinux-d34add05946ffda90ad5c4f0f71af2819748c660.tar.xz
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 <cengelma@gmx.at> Reviewed-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions