mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
baf5b752da
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> |
||
---|---|---|
.. | ||
cpt_common.h | ||
cpt_hw_types.h | ||
cptpf_main.c | ||
cptpf_mbox.c | ||
cptpf.h | ||
cptvf_algs.c | ||
cptvf_algs.h | ||
cptvf_main.c | ||
cptvf_mbox.c | ||
cptvf_reqmanager.c | ||
cptvf.h | ||
Kconfig | ||
Makefile | ||
request_manager.h |