Changeset 4783 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Oct 26, 2012, 8:21:18 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTRover/bncrtrover.cpp

    r4782 r4783  
    383383  // --------------------
    384384  rtrover_output output;
    385   rtrover_processEpoch(numSatRover, satObsRover, 0, 0, &output);
    386 
    387   // Write and free output
     385  rtrover_processEpoch(numSatRover, satObsRover, numSatBase, satObsBase, &output);
     386
     387  // Write output
    388388  // ---------------------
    389389  _outputFile.write(output._log);
    390390  _outputFile.flush();
    391391
     392  // Free memory
     393  // -----------
    392394  rtrover_freeOutput(&output);
    393 }
     395  for (int ii = 0; ii < numSatRover; ii++) {
     396    rtrover_satObs& satObs = satObsRover[ii];
     397    delete [] satObs._obs;
     398  }
     399  for (int ii = 0; ii < numSatBase; ii++) {
     400    rtrover_satObs& satObs = satObsBase[ii];
     401    delete [] satObs._obs;
     402  }
     403}
Note: See TracChangeset for help on using the changeset viewer.