summaryrefslogtreecommitdiff
path: root/source/xps/xps-zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/xps/xps-zip.c')
-rw-r--r--source/xps/xps-zip.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/xps/xps-zip.c b/source/xps/xps-zip.c
index 6874a3b4..aea42216 100644
--- a/source/xps/xps-zip.c
+++ b/source/xps/xps-zip.c
@@ -198,9 +198,6 @@ xps_drop_document(fz_context *ctx, xps_document *doc)
{
xps_font_cache *font, *next;
- if (!doc)
- return;
-
if (doc->zip)
fz_drop_archive(ctx, doc->zip);