diff options
Diffstat (limited to 'libqpdf/QPDFObjectHandle.cc')
-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()) { |