ref: c3fd2c4ea7432cf568165f7da6d99140c1f0957f
parent: 2ad4810a215bec3c944ee9e4a71f7aec58dc0f15
author: Martin Ettl <ettl.martin78@googlemail.com>
date: Mon Oct 25 09:14:11 EDT 2010
Fix leaked file descriptor with ENTROPY_STATS cppcheck found a leaked file descriptor in the debugging code enabled by defining ENTROPY_STATS. Fixes issue #60. Change-Id: I0c1d0669cb94d44fed77860f97b82763be06b7cb
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -2529,6 +2529,7 @@
}
fprintf(fmode, "};\n");
+ fclose(fmode);
}
#endif