From aa093bfabd140ee7e526577913fba8cc03ad4bac Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 31 May 2010 17:04:55 +0000 Subject: [PATCH] Use a pointer holder in one place where we were previously just using a pointer. --- libqpdf/QPDFObjectHandle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index c3a7167..6fb66d9 100644 --- a/libqpdf/QPDFObjectHandle.cc +++ b/libqpdf/QPDFObjectHandle.cc @@ -540,7 +540,7 @@ QPDFObjectHandle::makeDirectInternal(std::set& visited) this->objid = 0; this->generation = 0; - QPDFObject* new_obj = 0; + PointerHolder new_obj; if (isBool()) { -- libgit2 0.21.4