diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-09-07 22:49:31 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-09-08 16:19:38 +0200 |
commit | 264e25f391f83bcbeb60590f18ff96719b086454 (patch) | |
tree | ad7a6daae5a2350d56a521eb022fea30e799b95c /libqpdf/QPDF_Array.cc | |
parent | a615985865ca73249a7b21e2f28b440cb6c16636 (diff) | |
download | qpdf-264e25f391f83bcbeb60590f18ff96719b086454.tar.zst |
Clear owning QPDF information for all objects, not just indirect
Diffstat (limited to 'libqpdf/QPDF_Array.cc')
-rw-r--r-- | libqpdf/QPDF_Array.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Array.cc b/libqpdf/QPDF_Array.cc index 5cce8909..010efd1b 100644 --- a/libqpdf/QPDF_Array.cc +++ b/libqpdf/QPDF_Array.cc @@ -34,6 +34,12 @@ QPDF_Array::shallowCopy() return create(elements); } +void +QPDF_Array::reset() +{ + elements.reset(); +} + std::string QPDF_Array::unparse() { |