5ae890780e
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:
|
||
---|---|---|
.. | ||
Documentation | ||
cdev | ||
dim2 | ||
i2c | ||
net | ||
sound | ||
usb | ||
video | ||
Kconfig | ||
Makefile | ||
TODO | ||
core.c | ||
core.h |