mirror of https://gitee.com/openkylin/linux.git
87aae50af7
The object info is being leaked on an error return path, fix this
by setting ret to -ENOMEM and exiting via the request_cleanup path
that will free info.
Detected by CoverityScan, CID#1408439 ("Resource Leak")
Fixes:
|
||
---|---|---|
.. | ||
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 |