diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2013-12-30 13:32:14 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2013-12-30 13:32:14 +0000 |
commit | 875692805a71ea217794f110c29a58bcbb664999 (patch) | |
tree | ba639e576f3fe7a2a9939f32bd2d8ea5d3d39154 /testsuite | |
parent | 07c01cafbbfd4c18bd63f644946fd6ce7b384280 (diff) | |
download | orc-875692805a71ea217794f110c29a58bcbb664999.tar.gz |
testsuite: fix file descriptor leak in benchmorc
Coverity CID 1147543
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/benchmorc/benchmorc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/benchmorc/benchmorc.c b/testsuite/benchmorc/benchmorc.c index c1a92e6..0703b6e 100644 --- a/testsuite/benchmorc/benchmorc.c +++ b/testsuite/benchmorc/benchmorc.c @@ -106,6 +106,7 @@ read_file (const char *filename) contents[size] = 0; + fclose (file); return contents; bail: /* something failed */ |