]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13904): cx18: Fix TS and IDX stream buffer memory leak on module unload
authorAndy Walls <awalls@radix.net>
Thu, 31 Dec 2009 04:35:08 +0000 (01:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:29 +0000 (15:10 -0300)
commit60f18b325ea26115f3229b058ac4aeae781799d2
treee5d03c2ee9ae540d55204ae80986227110edb4e0
parentdf1f3a1b7d349f60ac558febb195458609d4bc8b
V4L/DVB (13904): cx18: Fix TS and IDX stream buffer memory leak on module unload

Fix a long standing memory leak of stream buffers for streams that did not
have a struct video_device allocated: namely the TS and IDX streams.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-queue.c
drivers/media/video/cx18/cx18-streams.c