]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (5417): First unregister the driver, and then free the memory.
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 10 Mar 2007 23:50:51 +0000 (20:50 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:33 +0000 (15:44 -0300)
commit6db58b18b2bcae22ed09e8052fa61df5e50f5da7
treeea9650b3d13c54a37fd0c8460858da6b35fb5c37
parent40d20868fca91a0a759801512af35690a38e5e6d
V4L/DVB (5417): First unregister the driver, and then free the memory.

ivtv_remove which is called by pci_unregister_driver was still using
memory that was already freed. Ouch.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-driver.c