summaryrefslogtreecommitdiff
path: root/source/tools
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-09-04 17:32:42 +0100
committerRobin Watts <robin.watts@artifex.com>2013-09-04 17:38:46 +0100
commit515c0106845a7dafd71abba6b29305e39c88380e (patch)
tree833a5b0d5dafc4eca3c074b37f95e5428d656e6d /source/tools
parent53236ad1f567cec4509351a0cc056a64ebd97a9e (diff)
downloadmupdf-515c0106845a7dafd71abba6b29305e39c88380e.tar.xz
Fix memory leak due to softmasks.
A user (sebblonline) reports a problem when rendering the 300Meg document downloadable from: http://www.mitsubishicarbide.com/EU/de/product/epaper/index.html (7th icon on the bottom). Memento builds report that softmask objects are leaked. Tracing these it appears that the handling of softmasks in pdf_run_xobject is not quite nested right. Fixing this reveals another problem with clipping paths being doubly removed. Adding a gsave/grestore pair solves this and leaves us with a well behaved program.
Diffstat (limited to 'source/tools')
0 files changed, 0 insertions, 0 deletions