]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (6336): cx8802: Plug memory leak when unregistering a driver
authorTrent Piepho <xyzzy@speakeasy.org>
Fri, 5 Oct 2007 14:28:09 +0000 (11:28 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 Oct 2007 14:01:43 +0000 (12:01 -0200)
commita04036a3129e09a9b9097de2b1f77dd82a6e9ac3
treedfa0edc666f622bc5d3127d03ab943f0036d6bc3
parent89a47942f0facc4664d982005ac03d8dcb9635c1
V4L/DVB (6336): cx8802: Plug memory leak when unregistering a driver

When a cx8802 sub-driver was unregistered, the struct cx8802_driver, which was
kmalloc()ed by cx8802_register_driver(), was deleted from the list of drivers,
but never freed.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-mpeg.c