summaryrefslogtreecommitdiff
path: root/base/gsrefct.h
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2021-05-06 18:03:18 +0100
committerRobin Watts <Robin.Watts@artifex.com>2021-05-07 16:09:39 +0100
commit549c8846201aaffdfb628938aaca384c0adb01ed (patch)
treeacf25fb04d7f187b1582b9442e043604f68939f0 /base/gsrefct.h
parent73f4ab96ef4507c76ae07a364717bdced634a925 (diff)
downloadghostpdl-549c8846201aaffdfb628938aaca384c0adb01ed.tar.gz
Update gs refcounting to work with Memento ref counting.
This means we can track the history of ref count changes for blocks within Memento.
Diffstat (limited to 'base/gsrefct.h')
-rw-r--r--base/gsrefct.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/gsrefct.h b/base/gsrefct.h
index 957d5a104..98d1896ed 100644
--- a/base/gsrefct.h
+++ b/base/gsrefct.h
@@ -136,6 +136,7 @@ rc_free_proc(rc_free_struct_only);
BEGIN\
IF_RC_DEBUG(rc_trace_adjust(vp, &(vp)->rc, delta, cname));\
(vp)->rc.ref_count += (delta);\
+ (void)Memento_adjustRef((vp), delta);\
END
#define rc_unshare_struct(vp, typ, pstype, mem, errstat, cname)\
BEGIN\