summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-20 00:25:04 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-20 00:25:04 +0100
commitd7d329289a10ed19f27dbfc4bf107a658a72190e (patch)
tree03681ba8eb5b6862f748901601c7822e84fae0f5 /src
parent71cb2c8b03be7a246567631c637347d871c9c82d (diff)
Missing fclose()
Diffstat (limited to 'src')
-rw-r--r--src/lib/dcp_video_frame.cc1
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);
}