diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-07-07 21:35:00 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-07-07 21:36:51 +0200 |
commit | 212812d8372d01362252bf2ac189c15367ff4f5c (patch) | |
tree | c7085c84c1b7cae04fa3b88adf3824befbb59c37 /libtests/flate.cc | |
parent | 66c88995fccf043d933c80bb0bf87360d0d81b18 (diff) | |
download | qpdf-212812d8372d01362252bf2ac189c15367ff4f5c.tar.zst |
Fix errors reported by Coverity
Thanks to Jiri Popelka from Red Hat for sending the output of a
Coverity run over qpdf.
Diffstat (limited to 'libtests/flate.cc')
-rw-r--r-- | libtests/flate.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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; |