[media] ivtv: add missing v4l2_fh_exit
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
2e4784d0d3
commit
6aff72f6d5
drivers/media/video/ivtv
|
@ -980,6 +980,7 @@ static int ivtv_serialized_open(struct ivtv_stream *s, struct file *filp)
|
|||
/* Try to claim this stream */
|
||||
if (ivtv_claim_stream(item, item->type)) {
|
||||
/* No, it's already in use */
|
||||
v4l2_fh_exit(&item->fh);
|
||||
kfree(item);
|
||||
return -EBUSY;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue