Index: trunk/BNC/src/combination/bncbiassnx.cpp
===================================================================
--- trunk/BNC/src/combination/bncbiassnx.cpp	(revision 10216)
+++ trunk/BNC/src/combination/bncbiassnx.cpp	(revision 10221)
@@ -264,4 +264,5 @@
         if  (cb.contains("C1X") && cb.contains("C2X")) {cb.insert("C1X-C2X", cb["C1X"] - cb["C2X"]);}
         if  (cb.contains("C1X") && cb.contains("C5X")) {cb.insert("C1X-C5X", cb["C1X"] - cb["C5X"]);}
+        break;
       default:
         break;
@@ -271,9 +272,12 @@
 }
 
-// get DSBs from OSBs
+//
 ////////////////////////////////////////////////////////////////////////////
 t_irc bncBiasSnx::cleanDsb() {
-  for (auto itS = _snxSatCodeBiasMap.begin(); itS != _snxSatCodeBiasMap.end();){
-    if (!_useGnss[itS.key().at(0).toLatin1()]) {
+
+  for (auto itS = _snxSatCodeBiasMap.begin(); itS != _snxSatCodeBiasMap.end();) {
+    char sys = itS.key().at(0).toLatin1();
+    if (!_useGnss[sys]) {
+      delete itS.value();
       itS = _snxSatCodeBiasMap.erase(itS);
     }
Index: trunk/BNC/src/combination/bnccomb.cpp
===================================================================
--- trunk/BNC/src/combination/bnccomb.cpp	(revision 10216)
+++ trunk/BNC/src/combination/bnccomb.cpp	(revision 10221)
@@ -174,5 +174,5 @@
       newAC->name         = hlp[1];
       newAC->weightFactor = hlp[2].toDouble();
-      newAC->isAPC = (newAC->mountPoint.mid(0,4) =="SSRA");
+      newAC->isAPC = bool(newAC->mountPoint.mid(0,4) == "SSRA");
       QMapIterator<char, unsigned> itSys(_cmbSysPrn);
       // init
@@ -301,4 +301,5 @@
     _MAXRES = 999.0;
   }
+
 }
 
@@ -306,4 +307,5 @@
 ////////////////////////////////////////////////////////////////////////////
 bncComb::~bncComb() {
+
   QListIterator<cmbAC*> icAC(_ACs);
   while (icAC.hasNext()) {
@@ -315,6 +317,6 @@
   if (_ssrCorr) {
     delete _ssrCorr;
-
-  }
+  }
+
   delete _antex;
   delete _bsx;
@@ -1050,5 +1052,4 @@
     clkCorrections.push_back(clkCorr);
 
-
     ColumnVector xc(6);
     ColumnVector vv(3);
@@ -1062,5 +1063,4 @@
     // Correction Phase Center --> CoM
     // -------------------------------
-
     ColumnVector dx(3);   dx = 0.0;
     ColumnVector apc(3); apc = 0.0;
