diff options
author | Jay Berkenbilt <ejb@ql.org> | 2010-05-31 19:04:55 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2010-05-31 19:04:55 +0200 |
commit | aa093bfabd140ee7e526577913fba8cc03ad4bac (patch) | |
tree | 1ff96993e8036b0e89e54c512f436dce252433a9 | |
parent | 9106e00e2aa08d0913140c66d5471e7d4870c67e (diff) | |
download | qpdf-aa093bfabd140ee7e526577913fba8cc03ad4bac.tar.zst |
Use a pointer holder in one place where we were previously just using
a pointer.
git-svn-id: svn+q:///qpdf/trunk@968 71b93d88-0707-0410-a8cf-f5a4172ac649
-rw-r--r-- | libqpdf/QPDFObjectHandle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index c3a7167b..6fb66d9c 100644 --- a/libqpdf/QPDFObjectHandle.cc +++ b/libqpdf/QPDFObjectHandle.cc @@ -540,7 +540,7 @@ QPDFObjectHandle::makeDirectInternal(std::set<int>& visited) this->objid = 0; this->generation = 0; - QPDFObject* new_obj = 0; + PointerHolder<QPDFObject> new_obj; if (isBool()) { |