Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Commit

Permalink
ensure that temp file is cleaned up when using the c bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbetts committed May 25, 2018
1 parent 11e245c commit 70a5790
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/pdfconverter.cc
Expand Up @@ -1044,6 +1044,7 @@ void PdfConverterPrivate::printDocument() {
fail();
}
outputData = i.readAll();
i.close();
tempOut.removeAll();
}
clearResources();
Expand Down

0 comments on commit 70a5790

Please sign in to comment.