aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2010-05-31 19:04:55 +0200
committerJay Berkenbilt <ejb@ql.org>2010-05-31 19:04:55 +0200
commitaa093bfabd140ee7e526577913fba8cc03ad4bac (patch)
tree1ff96993e8036b0e89e54c512f436dce252433a9 /libqpdf
parent9106e00e2aa08d0913140c66d5471e7d4870c67e (diff)
downloadqpdf-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
Diffstat (limited to 'libqpdf')
-rw-r--r--libqpdf/QPDFObjectHandle.cc2
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())
{