diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2014-04-07 10:51:51 +0100 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2014-04-07 10:53:15 +0100 |
commit | 84afb34e5df5fb681f5d3875b8816a52b4edaa56 (patch) | |
tree | 96bb1021ac3f7d3848fba604f00c1b84d742c43a /testsuite | |
parent | 0717ccc5a124ae09f63b485adc327afd4cd96175 (diff) |
Fix FILE leak
Coverity 1147011
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/compile_parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/compile_parse.c b/testsuite/compile_parse.c index 59b144f..572b681 100644 --- a/testsuite/compile_parse.c +++ b/testsuite/compile_parse.c @@ -84,6 +84,7 @@ read_file (const char *filename) if (ret < 0) goto bail; contents[size] = 0; + fclose (file); return contents; bail: |