]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fileconf.cpp
Removed streams from VC++ makefile for now; corrected typo in log.h
[wxWidgets.git] / src / common / fileconf.cpp
index 2482693f65c857e8711b32a928e6a13ac5650432..bc0e8aa5ac01c942d35b79008ca3bf9e2cf6e94d 100644 (file)
@@ -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;
+  }
 }
 
 // ----------------------------------------------------------------------------