]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] em28xx-v4l: fix the freeing of the video devices memory
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 12 Jan 2014 16:24:25 +0000 (13:24 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 14 Jan 2014 16:32:12 +0000 (14:32 -0200)
commite847022a8e1d732da96ddbd8d4170500f4c3f8b1
treeabe97b3d5d3b2cf940c67487b3aff171ba39b882
parent5a620c7c1cd74064e75a525738e9410b8851fa96
[media] em28xx-v4l: fix the freeing of the video devices memory

Remove some dead code from em28xx_v4l2_fini() and fix the leaking of the video,
vbi and radio video_device struct memories.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-video.c