diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-20 00:25:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-20 00:25:04 +0100 |
| commit | d7d329289a10ed19f27dbfc4bf107a658a72190e (patch) | |
| tree | 03681ba8eb5b6862f748901601c7822e84fae0f5 /src/lib | |
| parent | 71cb2c8b03be7a246567631c637347d871c9c82d (diff) | |
Missing fclose()
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/dcp_video_frame.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/dcp_video_frame.cc b/src/lib/dcp_video_frame.cc index 34b5ece29..b8b5ea76d 100644 --- a/src/lib/dcp_video_frame.cc +++ b/src/lib/dcp_video_frame.cc @@ -265,6 +265,7 @@ EncodedData::EncodedData (string file) size_t const r = fread (_data, 1, _size, f); if (r != size_t (_size)) { + fclose (f); throw FileError (_("could not read encoded data"), file); } |
