moved the do pdfa test after the closing of inpdf

This commit is contained in:
vididvidid
2025-10-02 05:07:30 +00:00
parent 04c52a74f6
commit 6e98635d91

View File

@@ -1326,11 +1326,12 @@ do_unit_tests(void)
if (read_unit_file(temppdf, num_pages, first_image, false))
return (1);
// Do PDF/A tests...
if (do_pdfa_tests())
goto fail;
pdfioFileClose(inpdf);
// Do PDF/A tests...
if (do_pdfa_tests())
return (1);
return (0);