summaryrefslogtreecommitdiff
path: root/test/pdfclean.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pdfclean.c')
-rw-r--r--test/pdfclean.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/pdfclean.c b/test/pdfclean.c
index 7eb72cda..37d9de0d 100644
--- a/test/pdfclean.c
+++ b/test/pdfclean.c
@@ -122,10 +122,12 @@ int main(int argc, char **argv)
if (error) fz_abort(error);
}
+ if (dogc)
+ pdf_garbagecollect(xref);
+
if (doexpand)
expandstreams(xref);
-printf("saving %s...\n", outfile);
error = pdf_savepdf(xref, outfile);
if (error)
fz_abort(error);