| Index: xfa/fxfa/parser/xfa_document_imp.cpp
|
| diff --git a/xfa/fxfa/parser/xfa_document_imp.cpp b/xfa/fxfa/parser/xfa_document_imp.cpp
|
| index 0421683e07e7ed29b933c1091fb9d6ecf8a2a1e8..3f1737a7f8493a4695c2733de21cce8dc5f2bef0 100644
|
| --- a/xfa/fxfa/parser/xfa_document_imp.cpp
|
| +++ b/xfa/fxfa/parser/xfa_document_imp.cpp
|
| @@ -77,6 +77,12 @@ void CXFA_Document::SetRoot(CXFA_Node* pNewRoot) {
|
| m_pRootNode = pNewRoot;
|
| RemovePurgeNode(pNewRoot);
|
| }
|
| +
|
| +void CXFA_Document::DestroyParser() {
|
| + delete m_pParser;
|
| + m_pParser = nullptr;
|
| +}
|
| +
|
| CXFA_FFNotify* CXFA_Document::GetNotify() const {
|
| return m_pParser->GetNotify();
|
| }
|
|
|