Index: fpdfsdk/src/formfiller/FFL_ComboBox.cpp |
diff --git a/fpdfsdk/src/formfiller/FFL_ComboBox.cpp b/fpdfsdk/src/formfiller/FFL_ComboBox.cpp |
index b2c32f38fc2cfdfaf2a7ae151c324585cf160f01..3d78d378945c80c96e96c443f9f220c8bbf747c9 100644 |
--- a/fpdfsdk/src/formfiller/FFL_ComboBox.cpp |
+++ b/fpdfsdk/src/formfiller/FFL_ComboBox.cpp |
@@ -21,6 +21,8 @@ CFFL_ComboBox::CFFL_ComboBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot) |
} |
CFFL_ComboBox::~CFFL_ComboBox() { |
+ for (const auto& it : m_Maps) |
+ it.second->InvalidateFocusHandler(this); |
delete m_pFontMap; |
} |