diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-fileops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-fileops.c b/drivers/media/video/ivtv/ivtv-fileops.c index 4463bf4ec4ee..a7f54b010a5c 100644 --- a/drivers/media/video/ivtv/ivtv-fileops.c +++ b/drivers/media/video/ivtv/ivtv-fileops.c | |||
@@ -980,6 +980,7 @@ static int ivtv_serialized_open(struct ivtv_stream *s, struct file *filp) | |||
980 | /* Try to claim this stream */ | 980 | /* Try to claim this stream */ |
981 | if (ivtv_claim_stream(item, item->type)) { | 981 | if (ivtv_claim_stream(item, item->type)) { |
982 | /* No, it's already in use */ | 982 | /* No, it's already in use */ |
983 | v4l2_fh_exit(&item->fh); | ||
983 | kfree(item); | 984 | kfree(item); |
984 | return -EBUSY; | 985 | return -EBUSY; |
985 | } | 986 | } |