summaryrefslogtreecommitdiff
path: root/pdf/pdf_function.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_function.c')
-rw-r--r--pdf/pdf_function.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pdf/pdf_function.c b/pdf/pdf_function.c
index 8d1be207..ff602021 100644
--- a/pdf/pdf_function.c
+++ b/pdf/pdf_function.c
@@ -1365,7 +1365,6 @@ pdf_load_function(pdf_document *xref, fz_obj *dict)
}
func = fz_malloc_struct(ctx, pdf_function);
- memset(func, 0, sizeof *func);
FZ_INIT_STORABLE(func, 1, pdf_free_function_imp);
func->size = sizeof(*func);