From 84afb34e5df5fb681f5d3875b8816a52b4edaa56 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Mon, 7 Apr 2014 10:51:51 +0100 Subject: Fix FILE leak Coverity 1147011 --- testsuite/compile_parse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite') 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: -- cgit v1.2.3