diff options
Diffstat (limited to 'source/tools/pdfshow.c')
-rw-r--r-- | source/tools/pdfshow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/pdfshow.c b/source/tools/pdfshow.c index c5d021ad..344f4c40 100644 --- a/source/tools/pdfshow.c +++ b/source/tools/pdfshow.c @@ -118,7 +118,7 @@ static void showstream(int num, int gen) showsafe(buf, n); } - fz_close(stm); + fz_drop_stream(stm); } static void showobject(int num, int gen) @@ -265,6 +265,6 @@ int pdfshow_main(int argc, char **argv) fclose(out); pdf_close_document(doc); - fz_free_context(ctx); + fz_drop_context(ctx); return 0; } |