mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 19:10:52 +07:00
940c620d6a
Currently a failed allocation of channel->name leads to an
immediate return without freeing channel. Fix this by setting
ret to -ENOMEM and jumping to an exit path that kfree's channel.
Detected by CoverityScan, CID#1473692 ("Resource Leak")
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
qcom_glink_native.c | ||
qcom_glink_native.h | ||
qcom_glink_rpm.c | ||
qcom_glink_smem.c | ||
qcom_smd.c | ||
rpmsg_char.c | ||
rpmsg_core.c | ||
rpmsg_internal.h | ||
virtio_rpmsg_bus.c |