Changeset 3571 in ntrip for branches/BNC_LM/bncantex.cpp


Ignore:
Timestamp:
Dec 25, 2011, 7:27:03 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_LM/bncantex.cpp

    r3295 r3571  
    119119    else if (line.indexOf("END OF ANTENNA") == 60) {
    120120      if (newAntMap) {
     121        if (_maps.contains(newAntMap->antName)) {
     122          delete _maps[newAntMap->antName];
     123        }
    121124        _maps[newAntMap->antName] = newAntMap;
    122125        newAntMap = 0;
     
    163166        if (newFrqMap) {
    164167          if      (line.indexOf("G01") == 3 || line.indexOf("R01") == 3) {
     168            delete newAntMap->frqMapL1;
    165169            newAntMap->frqMapL1 = newFrqMap;
    166170          }
    167171          else if (line.indexOf("G02") == 3 || line.indexOf("R02") == 3) {
     172            delete newAntMap->frqMapL2;
    168173            newAntMap->frqMapL2 = newFrqMap;
    169174          }
Note: See TracChangeset for help on using the changeset viewer.