fcf94c89af
Both cx23885_initdev and cx23885_dev_setup free the device in their error path so a failure in the latter causes a double-free. Since cx23885_dev_setup is only called from cx23885_initdev, it should be safe to remove its deallocation and leave the cleanup up to the allocating function. Coverity CID 1922. Signed-off-by: Florin Malita <fmalita@gmail.com> CC: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> |
||
---|---|---|
.. | ||
cx23885-cards.c | ||
cx23885-core.c | ||
cx23885-dvb.c | ||
cx23885-i2c.c | ||
cx23885-reg.h | ||
cx23885.h | ||
Kconfig | ||
Makefile |