NxWidgets::CNxString: Make destructor virtual. From Petteri Aimonen

This commit is contained in:
Gregory Nutt 2014-07-22 07:32:10 -06:00
parent cff7b270a9
commit 23c30fd923

View File

@ -220,7 +220,7 @@ namespace NXWidgets
* Destructor. * Destructor.
*/ */
inline ~CNxString() virtual inline ~CNxString()
{ {
delete[] m_text; delete[] m_text;
m_text = (FAR nxwidget_char_t *)NULL; m_text = (FAR nxwidget_char_t *)NULL;