upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:43 +0000 (14:26 +0900)
commitc8191466f90b6366b01b4a41b1385afa2572dead
treea97dcc640894d2731e69f7812debe5ef5a56a738
parent8d54a245c931b94ea5fa2a51069b89f3c20e5004
upstream: [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