Index: /branches/BNC_2.12/src/bncclockrinex.cpp
===================================================================
--- /branches/BNC_2.12/src/bncclockrinex.cpp	(revision 8835)
+++ /branches/BNC_2.12/src/bncclockrinex.cpp	(revision 8836)
@@ -36,4 +36,5 @@
 ////////////////////////////////////////////////////////////////////////////
 bncClockRinex::~bncClockRinex() {
+  bncoutf::closeFile();
 }
 
@@ -56,4 +57,5 @@
         numValues += 2;
       }
+
 
       _out << "AS " << prn.toLatin1().data()
