mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-19 20:00:30 +00:00
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>
|
History
|
|
|---|---|---|
| .. | ||
| 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 | ||
| Kconfig | ||
| Makefile | ||
| request_manager.h | ||