From 212812d8372d01362252bf2ac189c15367ff4f5c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 7 Jul 2013 15:35:00 -0400 Subject: Fix errors reported by Coverity Thanks to Jiri Popelka from Red Hat for sending the output of a Coverity run over qpdf. --- libtests/flate.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libtests/flate.cc') diff --git a/libtests/flate.cc b/libtests/flate.cc index a6d4eeb6..3da056ed 100644 --- a/libtests/flate.cc +++ b/libtests/flate.cc @@ -46,6 +46,7 @@ void run(char const* filename) // Write to the both pipeline def3->write(buf, len); } + fclose(in1); def1->finish(); delete def1; @@ -69,6 +70,7 @@ void run(char const* filename) { inf2->write(buf, len); } + fclose(in2); inf2->finish(); delete inf2; -- cgit v1.2.3-70-g09d2