diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2021-05-06 18:03:18 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2021-05-07 16:09:39 +0100 |
commit | 549c8846201aaffdfb628938aaca384c0adb01ed (patch) | |
tree | acf25fb04d7f187b1582b9442e043604f68939f0 /base/gsrefct.h | |
parent | 73f4ab96ef4507c76ae07a364717bdced634a925 (diff) | |
download | ghostpdl-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.h | 1 |
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\ |