]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitf40a29168475d64d854ef16a9263b24b0b2a9c6e
treeea9650b3d13c54a37fd0c8460858da6b35fb5c37
parent6773c1c24d48f0aa667ba2aff573904a77050f09
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