From: Florin Malita Date: Sat, 13 Oct 2007 14:49:52 +0000 (-0300) Subject: V4L/DVB (6325): Double-free in cx23885_initdev X-Git-Tag: v2.6.24-rc1~66^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf94c89af8acccb14ce37b1c9e8dd6bd32a999d;p=pandora-kernel.git 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 CC: Steven Toth Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed