mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-28 20:03:05 +00:00
Currently the call to cdev_add is missing a check for failure. Fix this by
checking for failure and exiting via a new error path that ensures the
allocated comp_channel struct is kfree'd.
Detected by CoverityScan, CID#1462359 ("Unchecked return value")
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| cdev | ||
| dim2 | ||
| Documentation | ||
| i2c | ||
| net | ||
| sound | ||
| usb | ||
| video | ||
| core.c | ||
| core.h | ||
| Kconfig | ||
| Makefile | ||
| TODO | ||