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:
@@ -181,6 +181,13 @@ wxFileConfig::~wxFileConfig()
|
|||||||
{
|
{
|
||||||
Flush();
|
Flush();
|
||||||
delete m_pRootGroup;
|
delete m_pRootGroup;
|
||||||
|
|
||||||
|
LineList *pCur = m_linesHead;
|
||||||
|
while ( pCur != NULL ) {
|
||||||
|
LineList *pNext = pCur->Next();
|
||||||
|
delete pCur;
|
||||||
|
pCur = pNext;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user