Index: /trunk/BNC/src/rinex/bncpostprocess.cpp
===================================================================
--- /trunk/BNC/src/rinex/bncpostprocess.cpp	(revision 4363)
+++ /trunk/BNC/src/rinex/bncpostprocess.cpp	(revision 4364)
@@ -163,4 +163,5 @@
     }
     catch (...) {
+      delete _rnxObsFile; _rnxObsFile = 0;
       emit finished();
       deleteLater();
Index: /trunk/BNC/src/rinex/reqcedit.cpp
===================================================================
--- /trunk/BNC/src/rinex/reqcedit.cpp	(revision 4363)
+++ /trunk/BNC/src/rinex/reqcedit.cpp	(revision 4364)
@@ -115,20 +115,23 @@
       while (it.hasNext()) {
         QString filePath = it.next().filePath(); 
+        t_rnxObsFile* rnxObsFile = 0;
         try {
-          t_rnxObsFile* rnxObsFile = new t_rnxObsFile(filePath, t_rnxObsFile::input);
+          rnxObsFile = new t_rnxObsFile(filePath, t_rnxObsFile::input);
           rnxObsFiles.append(rnxObsFile);
         }
         catch (...) {
-          cerr << "Error in rnxObsFile initialization" << endl;
+          delete rnxObsFile;
+          cerr << "Error in rnxObsFile " << filePath.toAscii().data() << endl;
         }
       }
     }
     else {
+      t_rnxObsFile* rnxObsFile = 0;
       try {
-        t_rnxObsFile* rnxObsFile = new t_rnxObsFile(fileName, t_rnxObsFile::input);
+        rnxObsFile = new t_rnxObsFile(fileName, t_rnxObsFile::input);
         rnxObsFiles.append(rnxObsFile);
       }
       catch (...) {
-        cerr << "Error in rnxObsFile initialization" << endl;
+        cerr << "Error in rnxObsFile " << fileName.toAscii().data() << endl;
       }
     }
