summaryrefslogtreecommitdiff
path: root/test/pdfclean.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-11-11 07:15:07 +0100
committerTor Andersson <tor@ghostscript.com>2004-11-11 07:15:07 +0100
commit58de1fff510078e3d2d8cfce033c87299adf78f0 (patch)
tree80635049b0d1ccc8840717982afe983ea18c0b37 /test/pdfclean.c
parent2ec725624d637789845478a90f799e9eeb54f9ee (diff)
downloadmupdf-58de1fff510078e3d2d8cfce033c87299adf78f0.tar.xz
filter reference counting
Diffstat (limited to 'test/pdfclean.c')
-rw-r--r--test/pdfclean.c3
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;