summaryrefslogtreecommitdiff
path: root/source/fitz/buffer.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-11-13 12:05:44 +0100
committerTor Andersson <tor@ccxvii.net>2014-12-03 01:33:00 +0100
commit209544dea2f2e0b627a8b27a212681c1e9b8b7fc (patch)
tree535ac9066db7f52bea5f68164f366af0a65a0bdb /source/fitz/buffer.c
parentd8ea0243dddb28bcc802e230a8de8e66513a7dbb (diff)
downloadmupdf-209544dea2f2e0b627a8b27a212681c1e9b8b7fc.tar.xz
Don't always trim the buffer when calling fz_read_all.
Many instances just use the data and free it, so reallocing to shrink is a waste of time. Other instances need to append a terminating zero, such as the XML and CSS parsers.
Diffstat (limited to 'source/fitz/buffer.c')
0 files changed, 0 insertions, 0 deletions