V4L/DVB (5045): Pvrusb2: Fix heap corruption introduced by radio mods
authorMike Isely <isely@pobox.com>
Thu, 28 Dec 2006 02:19:42 +0000 (23:19 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:31 +0000 (13:34 -0200)
commit0f0f257b7b46cc65c0f8f6f30444005b9c255e79
tree235e567666a2912d54551d9a303c229ac5ebf40f
parent5e6862cefe004f0f7ad86e0a80df4d9465576903
V4L/DVB (5045): Pvrusb2: Fix heap corruption introduced by radio mods

We can't allocate v4l device structures in a block, since the v4l core
governs when each device actually gets freed.  This bug was introduced
as part of the core radio implementation.  Fix it.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-v4l2.c