From: Francesco Lavra Date: Thu, 31 Dec 2009 11:47:11 +0000 (-0300) Subject: V4L/DVB (13961): em28xx-dvb: fix memleak in dvb_fini() X-Git-Tag: v2.6.34-rc1~280^2~273 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19f48cb105b7fa18d0dcab435919a3a29b7a7c4c;p=pandora-kernel.git V4L/DVB (13961): em28xx-dvb: fix memleak in dvb_fini() this patch fixes a memory leak which occurs when an em28xx card with DVB extension is unplugged or its DVB extension driver is unloaded. In dvb_fini(), dev->dvb must be freed before being set to NULL, as is done in dvb_init() in case of error. Note that this bug is also present in the latest stable kernel release. Signed-off-by: Francesco Lavra Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed