From bca5382e89bb5dd9a359c621df5885d65aa16459 Mon Sep 17 00:00:00 2001 From: malc Date: Fri, 6 Aug 2010 13:25:58 +0400 Subject: [PATCH] fz_dropstream is now gone upstream, use fz_close --- link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/link.c b/link.c index 0df3fdd..cb9a856 100644 --- a/link.c +++ b/link.c @@ -323,7 +323,7 @@ static void openxref (char *filename) error = pdf_openxrefwithstream (&state.xref, file, NULL); if (error) die (fz_rethrow(error, "cannot open document '%s'", filename)); - fz_dropstream (file); + fz_close (file); if (pdf_needspassword (state.xref)) { die (fz_throw ("password protected")); -- 2.11.4.GIT