diff options
Diffstat (limited to 'samples/pdfium_test.cc')
-rw-r--r-- | samples/pdfium_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc index 19b6b4642e..c9d84af04d 100644 --- a/samples/pdfium_test.cc +++ b/samples/pdfium_test.cc @@ -390,6 +390,7 @@ void RenderPdf(const std::string& name, const char* pBuf, size_t len, if (!doc) { fprintf(stderr, "Load pdf docs unsuccessful.\n"); + FPDFAvail_Destroy(pdf_avail); return; } |