[media] em28xx: use after free in em28xx_v4l2_close()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Aug 2012 05:58:15 +0000 (02:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 Aug 2012 21:49:00 +0000 (18:49 -0300)
commite36c92fd63bb4773e6f4bc38ecee11a609ded1cf
tree3ed46009422b64c40d354acdc63cbca6646baa56
parent5359805193dc83e1aab2f8e230d57c649363c5c5
[media] em28xx: use after free in em28xx_v4l2_close()

We need to move the unlock before the kfree(dev);

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-video.c