Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interconnect: core: fix error return code of icc_link_destroy()
When krealloc() fails and new is NULL, no error return code of icc_link_destroy() is assigned. To fix this bug, ret is assigned with -ENOMEM hen new is NULL. Reported-by: TOTE Robot <[email protected]> Signed-off-by: Jia-Ju Bai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
- Loading branch information