diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-06-04 19:15:31 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-06-05 16:01:13 +0100 |
commit | 40599eb00e746c0aa6e86a46115a109e073a8890 (patch) | |
tree | 1c4b5af90e169de50a39da0df24bcc4354d63482 /draw/draw_paint.c | |
parent | e92dd2a341223487e87a9088164725f0a40ad27c (diff) | |
download | mupdf-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 'draw/draw_paint.c')
0 files changed, 0 insertions, 0 deletions