Index: trunk/BNC/src/PPP/pppMain.cpp
===================================================================
--- trunk/BNC/src/PPP/pppMain.cpp	(revision 5974)
+++ trunk/BNC/src/PPP/pppMain.cpp	(revision 5975)
@@ -61,4 +61,8 @@
   cout << "~t_pppMain" << endl;
   stop();
+  QListIterator<t_pppOptions*> iOpt(_options);
+  while (iOpt.hasNext()) {
+    delete iOpt.next();
+  }
 }
 
@@ -104,12 +108,6 @@
       pppThread->exit();
     }
-  }
-  _pppThreads.clear();
-
-  QListIterator<t_pppOptions*> iOpt(_options);
-  while (iOpt.hasNext()) {
-    delete iOpt.next();
-  }
-  _options.clear();
+    _pppThreads.clear();
+  }
 
   _running = false;
