summaryrefslogtreecommitdiff
path: root/fitz/filt_flate.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2011-02-03 10:38:01 +0000
committerTor Andersson <tor@ghostscript.com>2011-02-03 10:38:01 +0000
commit8355256a0fa6eedaa02a4e7b8ba3c2dbd58fe567 (patch)
tree5b3ffc94c327ff1a2eafbff99240644f621d29aa /fitz/filt_flate.c
parentb9d32b1d76e298db1eaa7f42bf14c67496a5804d (diff)
downloadmupdf-8355256a0fa6eedaa02a4e7b8ba3c2dbd58fe567.tar.xz
Various patches from SumatraPDF.
Diffstat (limited to 'fitz/filt_flate.c')
-rw-r--r--fitz/filt_flate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/filt_flate.c b/fitz/filt_flate.c
index e021b8fe..acda8c49 100644
--- a/fitz/filt_flate.c
+++ b/fitz/filt_flate.c
@@ -12,7 +12,7 @@ struct fz_flate_s
static void *zmalloc(void *opaque, unsigned int items, unsigned int size)
{
- return fz_malloc(items * size);
+ return fz_calloc(items, size);
}
static void zfree(void *opaque, void *ptr)