summaryrefslogtreecommitdiff
path: root/pdf/pdf_crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_crypt.c')
-rw-r--r--pdf/pdf_crypt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pdf/pdf_crypt.c b/pdf/pdf_crypt.c
index c3cd5d8c..59423a38 100644
--- a/pdf/pdf_crypt.c
+++ b/pdf/pdf_crypt.c
@@ -54,7 +54,6 @@ pdf_new_crypt(fz_context *ctx, fz_obj *dict, fz_obj *id)
fz_obj *obj;
crypt = fz_malloc_struct(ctx, pdf_crypt);
- memset(crypt, 0, sizeof *crypt);
/* Common to all security handlers (PDF 1.7 table 3.18) */