From 8355256a0fa6eedaa02a4e7b8ba3c2dbd58fe567 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 3 Feb 2011 10:38:01 +0000 Subject: Various patches from SumatraPDF. --- fitz/filt_flate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fitz/filt_flate.c') 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) -- cgit v1.2.3