diff options
Diffstat (limited to 'test/pdfclean.c')
-rw-r--r-- | test/pdfclean.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pdfclean.c b/test/pdfclean.c index 7dd15427..b8102d2c 100644 --- a/test/pdfclean.c +++ b/test/pdfclean.c @@ -162,6 +162,9 @@ int main(int argc, char **argv) if (error) fz_abort(error); + if (encrypt) + pdf_dropcrypt(encrypt); + pdf_closepdf(xref); return 0; |