mirror of https://gitee.com/openkylin/linux.git
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cpt_common.h | ||
cpt_hw_types.h | ||
cptpf.h | ||
cptpf_main.c | ||
cptpf_mbox.c | ||
cptvf.h | ||
cptvf_algs.c | ||
cptvf_algs.h | ||
cptvf_main.c | ||
cptvf_mbox.c | ||
cptvf_reqmanager.c | ||
request_manager.h |