diff --git a/stepmania/src/XmlFile.cpp b/stepmania/src/XmlFile.cpp index 1ceb31c420..6e7fbdcc91 100644 --- a/stepmania/src/XmlFile.cpp +++ b/stepmania/src/XmlFile.cpp @@ -53,6 +53,8 @@ void XNode::Free() SAFE_DELETE( pAttr->second ); m_childs.clear(); m_attrs.clear(); + + SAFE_DELETE( m_pValue ); } void XNodeStringValue::GetValue( RString &out ) const { out = m_sValue; }