summaryrefslogtreecommitdiff
path: root/include/linux/dmi.h
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2017-08-14 14:58:54 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-08-22 09:54:54 +0300
commitbaf5b752dae2b7c84b3fa5ffb0eb41648d659c09 (patch)
tree166397fd293adee793366fbbd1177978fdd5ebe7 /include/linux/dmi.h
parent249cb0632570302e2c61f900806b92f3fe66783b (diff)
downloadlinux-baf5b752dae2b7c84b3fa5ffb0eb41648d659c09.tar.xz
crypto: cavium - add release_firmware to all return case
Two return case misses to call release_firmware() and so leak some memory. This patch create a fw_release label (and so a common error path) and use it on all return case. Detected by CoverityScan, CID#1416422 ("Resource Leak") Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/dmi.h')
0 files changed, 0 insertions, 0 deletions