summaryrefslogtreecommitdiff
path: root/fitz/base_memory.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-06-04 19:15:31 +0100
committerRobin Watts <robin.watts@artifex.com>2013-06-05 16:01:13 +0100
commit40599eb00e746c0aa6e86a46115a109e073a8890 (patch)
tree1c4b5af90e169de50a39da0df24bcc4354d63482 /fitz/base_memory.c
parente92dd2a341223487e87a9088164725f0a40ad27c (diff)
downloadmupdf-40599eb00e746c0aa6e86a46115a109e073a8890.tar.xz
Fix XPS leaking fz_buffers for images.
fz_new_image_from_buffer was building a new buffer from the data in the supplied buffer, rather than just using the supplied buffer. Also move the code into line with our standards; don't pass ownership of the buffer.
Diffstat (limited to 'fitz/base_memory.c')
0 files changed, 0 insertions, 0 deletions