summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lpdf-lmt.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/lpdf-lmt.lmt')
-rw-r--r--tex/context/base/mkxl/lpdf-lmt.lmt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/lpdf-lmt.lmt b/tex/context/base/mkxl/lpdf-lmt.lmt
index 6c321ec54..1d47c1620 100644
--- a/tex/context/base/mkxl/lpdf-lmt.lmt
+++ b/tex/context/base/mkxl/lpdf-lmt.lmt
@@ -1192,6 +1192,7 @@ local flushimage do
local r = boxresources[objnum]
if r then
flushlist(l.list)
+ l.list = nil -- added
end
boxresources[objnum] = l
if immediate then
@@ -2131,6 +2132,10 @@ local finalize do
finalize = function(driver,details)
+ if not details then
+ report("something is wrong, no details in 'finalize'")
+ end
+
level = level + 1
pdf_goto_pagemode() -- for now