diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 13:58:07 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 14:00:55 +0100 |
commit | 977ad5326276de29f0b2ae212a1cb4c09d8d94e0 (patch) | |
tree | c3b4a55e14117c9efdddecb631736d3a307579c2 /pdf/pdf_function.c | |
parent | d5b9e3c95500c159a2dfc40657ab95da5f2777dd (diff) | |
download | mupdf-977ad5326276de29f0b2ae212a1cb4c09d8d94e0.tar.xz |
Make fz_malloc_struct return zeroed memory.
Diffstat (limited to 'pdf/pdf_function.c')
-rw-r--r-- | pdf/pdf_function.c | 1 |
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); |