Commit aa093bfabd140ee7e526577913fba8cc03ad4bac

Authored by Jay Berkenbilt
1 parent 9106e00e

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
Showing 1 changed file with 1 additions and 1 deletions
libqpdf/QPDFObjectHandle.cc
@@ -540,7 +540,7 @@ QPDFObjectHandle::makeDirectInternal(std::set<int>& visited) @@ -540,7 +540,7 @@ QPDFObjectHandle::makeDirectInternal(std::set<int>& visited)
540 this->objid = 0; 540 this->objid = 0;
541 this->generation = 0; 541 this->generation = 0;
542 542
543 - QPDFObject* new_obj = 0; 543 + PointerHolder<QPDFObject> new_obj;
544 544
545 if (isBool()) 545 if (isBool())
546 { 546 {