projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07c01ca
)
testsuite: fix file descriptor leak in benchmorc
author
Tim-Philipp Müller
<tim@centricular.com>
Mon, 30 Dec 2013 13:32:14 +0000
(13:32 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 30 Dec 2013 13:32:14 +0000
(13:32 +0000)
Coverity CID 1147543
testsuite/benchmorc/benchmorc.c
patch
|
blob
|
history
diff --git
a/testsuite/benchmorc/benchmorc.c
b/testsuite/benchmorc/benchmorc.c
index
c1a92e6
..
0703b6e
100644
(file)
--- 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 */