summaryrefslogtreecommitdiff
path: root/source/fitz/hash.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-07-13 12:37:48 +0100
committerRobin Watts <robin.watts@artifex.com>2015-07-20 17:18:58 +0100
commit6d006a43d50bcbfc20cbb574c6953cfcfe906208 (patch)
tree6553c7c2702d258dfa344dd9e2a07cce311845f4 /source/fitz/hash.c
parent221915518d71c1ba3585addbe7cff49bba96f175 (diff)
downloadmupdf-6d006a43d50bcbfc20cbb574c6953cfcfe906208.tar.xz
Fix leak during text extraction.
MuPDF (the win32/linux viewer) leaks a span_soup each time it is run, even if (seemingly to the user) no text extraction operations are done. This is because the view does a text extraction pass silently, during which 'begin_page' is called for both page contents and annotation contents. This causes a leak of a span_soup. Change the implementation to allocate the span_soup just in time instead.
Diffstat (limited to 'source/fitz/hash.c')
0 files changed, 0 insertions, 0 deletions