memory leak plugged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
cd70477bbd
commit
128aec1da4
@ -181,6 +181,13 @@ wxFileConfig::~wxFileConfig()
|
||||
{
|
||||
Flush();
|
||||
delete m_pRootGroup;
|
||||
|
||||
LineList *pCur = m_linesHead;
|
||||
while ( pCur != NULL ) {
|
||||
LineList *pNext = pCur->Next();
|
||||
delete pCur;
|
||||
pCur = pNext;
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user