commit | d34add05946ffda90ad5c4f0f71af2819748c660 | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Wed Feb 11 20:33:15 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 06 16:26:58 2015 -0800 |
tree | 6746a1d6e93457bb7ecdf32e5c2a62913abd3ae6 | |
parent | 6498613d2cf23269a6a483a751f61655115de251 [diff] |
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>