aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2024-01-07 23:05:35 +0100
committerJay Berkenbilt <ejb@ql.org>2024-01-07 23:16:14 +0100
commit07f6c635a95d8c20040896646394c1e5a8a64784 (patch)
treed6e4f603dd14cb8a8043997df57bb62243d92ab7 /include
parent1d96af8b9f72f66d48b77c5232b3e4d38d6683ca (diff)
downloadqpdf-07f6c635a95d8c20040896646394c1e5a8a64784.tar.zst
Bug fix: treat old generations of reused objects as null
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 5ae01770..9ab3ae3f 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -1038,6 +1038,7 @@ class QPDF
QPDFObjectHandle makeIndirectFromQPDFObject(std::shared_ptr<QPDFObject> const& obj);
bool isCached(QPDFObjGen const& og);
bool isUnresolved(QPDFObjGen const& og);
+ void removeObject(QPDFObjGen const& og);
void updateCache(
QPDFObjGen const& og,
std::shared_ptr<QPDFObject> const& object,