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

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