summaryrefslogtreecommitdiff
path: root/platform/x11/pdfapp.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2014-05-26 17:34:14 +0100
committerRobin Watts <robin.watts@artifex.com>2014-05-27 00:04:30 +0100
commit0c041d7fc030a9bb25c76ad72a9a028e32a78de1 (patch)
treec07dd0c7c2b39758b3bfba1b82fc6f5f90ca7aeb /platform/x11/pdfapp.h
parent253a976aa4c0993c0b685deaceefb3220a0825d1 (diff)
downloadmupdf-0c041d7fc030a9bb25c76ad72a9a028e32a78de1.tar.xz
Bug 695260: Fix error handling in do_xobject
Various functions (such as fz_begin_group) handle errors internally by use of the error_depth parameter. This means that if we call them, we MUST ensure that we call the appropriate closing function. Similarly, if we don't call them, we should NOT call the closing function. In order to ensure we do this correctly, we introduce a cleanup_state variable that says which ones we tried to call. This cures the original bug.
Diffstat (limited to 'platform/x11/pdfapp.h')
0 files changed, 0 insertions, 0 deletions