Closed P-McG closed 2 years ago
Traced down the memory leak to the validators in the GUI classes. The validator was created from the heap twice.
m_DataTextCtrlValidator = new DataTextCtrlValidator(MatMLTreeCtrl, m_ValidationNewLineRemovalCheckBox);
changed to
if(!m_DataTextCtrlValidator) m_DataTextCtrlValidator = new DataTextCtrlValidator(MatMLTreeCtrl, m_ValidationNewLineRemovalCheckBox);
[fixed]
Traced down the memory leak to the validators in the GUI classes. The validator was created from the heap twice.
m_DataTextCtrlValidator = new DataTextCtrlValidator(MatMLTreeCtrl, m_ValidationNewLineRemovalCheckBox);
changed to
if(!m_DataTextCtrlValidator) m_DataTextCtrlValidator = new DataTextCtrlValidator(MatMLTreeCtrl, m_ValidationNewLineRemovalCheckBox);