Index: fpdfsdk/src/formfiller/FFL_TextField.cpp |
diff --git a/fpdfsdk/src/formfiller/FFL_TextField.cpp b/fpdfsdk/src/formfiller/FFL_TextField.cpp |
index 83c7f35ba91fc922d5f5a22e65f7cc453c6bef5c..db69101ec2995bf0b60f32695298a4675ff22a29 100644 |
--- a/fpdfsdk/src/formfiller/FFL_TextField.cpp |
+++ b/fpdfsdk/src/formfiller/FFL_TextField.cpp |
@@ -19,12 +19,7 @@ CFFL_TextField::CFFL_TextField(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot) |
CFFL_TextField::~CFFL_TextField() |
{ |
- if (m_pFontMap) |
- { |
- delete m_pFontMap; |
- m_pFontMap = NULL; |
- } |
- |
+ delete m_pFontMap; |
} |
PWL_CREATEPARAM CFFL_TextField::GetCreateParam() |