diff options
author | Corentin LABBE <clabbe.montjoie@gmail.com> | 2017-08-14 14:58:54 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-08-22 09:54:54 +0300 |
commit | baf5b752dae2b7c84b3fa5ffb0eb41648d659c09 (patch) | |
tree | 166397fd293adee793366fbbd1177978fdd5ebe7 /include/linux/coresight-stm.h | |
parent | 249cb0632570302e2c61f900806b92f3fe66783b (diff) | |
download | linux-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/coresight-stm.h')
0 files changed, 0 insertions, 0 deletions