diff options
author | Florin Malita <fmalita@gmail.com> | 2007-10-13 11:49:52 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-22 12:01:36 -0200 |
commit | fcf94c89af8acccb14ce37b1c9e8dd6bd32a999d (patch) | |
tree | a82d52ce361bd08f69db37c009766d0f039e090e /drivers/Kconfig | |
parent | a13625c518ca6fd3ff7cb3b66d8023f843a745a3 (diff) |
V4L/DVB (6325): Double-free in cx23885_initdev
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>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions