From 501e8cdc9143d4b1bebd22e7bfdcae4368e459ee Mon Sep 17 00:00:00 2001 From: tsepez Date: Wed, 18 May 2016 11:39:15 -0700 Subject: Remove Release() from CXFA_ChecksumContext Review-Url: https://codereview.chromium.org/1991913002 --- fpdfsdk/fpdfsave.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fpdfsdk') diff --git a/fpdfsdk/fpdfsave.cpp b/fpdfsdk/fpdfsave.cpp index c67db816a9..d48bfbb3b1 100644 --- a/fpdfsdk/fpdfsave.cpp +++ b/fpdfsdk/fpdfsave.cpp @@ -130,8 +130,7 @@ bool SaveXFADocumentData(CPDFXFA_Document* pDocument, else if (pPDFObj->GetString() == "template") iTemplate = i + 1; } - std::unique_ptr> - pContext(new CXFA_ChecksumContext); + std::unique_ptr pContext(new CXFA_ChecksumContext); pContext->StartChecksum(); // template -- cgit v1.2.3