v4l2: minor fix for closing the fd
authorTim-Philipp Müller <tim@centricular.com>
Mon, 5 May 2014 11:07:25 +0000 (12:07 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 5 May 2014 11:07:25 +0000 (12:07 +0100)
commit17c107d4e4b56d1dbebe1150eec7e34872892108
tree82b5fa4253aa44bea25f1442b216c02168185fec
parent985897d8d95b13065ba19cb01aae105d2423feb2
v4l2: minor fix for closing the fd

The fd returned by open() could theoretically be 0 as well.

Coverity CID 1211823.
sys/v4l2/gstv4l2.c