v4l2-ctl: properly close filehandles on error
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 23 Sep 2013 08:56:14 +0000 (10:56 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 23 Sep 2013 08:56:14 +0000 (10:56 +0200)
commit9da5d8e2c6859fd6cc4c1d0d795341ada72a6129
treed57902e926bb7d5ccac3c79a8f877412c764d0dd
parentefc29f1764a30808ebf7b3e1d9bfa27b909bf641
v4l2-ctl: properly close filehandles on error

The capture and output filehandles weren't closed explicitly if an
error occurs.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-ctl/v4l2-ctl-streaming.cpp