diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-04-06 09:38:24 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-04-06 10:08:35 +0100 |
commit | 72f739984d85050422c64c5661cf0e750aa3d49d (patch) | |
tree | c86ca233ee51a331e83f53bc7476afac5ad7f1e8 /cbz/mucbz.c | |
parent | a91e0a14294fe23f891051e4cf6725bf5914b05c (diff) | |
download | mupdf-72f739984d85050422c64c5661cf0e750aa3d49d.tar.xz |
mucbz: use fz_malloc, not malloc.
Diffstat (limited to 'cbz/mucbz.c')
-rw-r--r-- | cbz/mucbz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cbz/mucbz.c b/cbz/mucbz.c index 0050af29..1ab05799 100644 --- a/cbz/mucbz.c +++ b/cbz/mucbz.c @@ -233,7 +233,7 @@ cbz_read_zip_dir_imp(cbz_document *doc, int startoffset) (void) getlong(file); /* ext file atts */ entry->offset = getlong(file); - entry->name = malloc(namesize + 1); + entry->name = fz_malloc(ctx, namesize + 1); fz_read(file, (unsigned char *)entry->name, namesize); entry->name[namesize] = 0; |