[media] em28xx: Fix memory leak on driver defered resource release
authorEzequiel García <elezegarcia@gmail.com>
Sat, 5 May 2012 19:13:22 +0000 (16:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 18 May 2012 18:51:07 +0000 (15:51 -0300)
commitdedb8cb1d64a118ac21eaabd941ac0b9acdd82fb
tree492c0a6ecbe812f8284319a327c6360260a9b7d9
parent61282daf505f3c8def09332ca337ac257b792029
[media] em28xx: Fix memory leak on driver defered resource release

When the device is physically unplugged but there are still
open file handles, resource release is defered until last
opened handle is closed.
This patch fixes a missing em28xx_fh struct release.
Tested by compilation only.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-video.c