Index: /trunk/MagicSoft/Mars/mbase/MReadTree.cc
===================================================================
--- /trunk/MagicSoft/Mars/mbase/MReadTree.cc	(revision 1343)
+++ /trunk/MagicSoft/Mars/mbase/MReadTree.cc	(revision 1344)
@@ -152,22 +152,23 @@
 MReadTree::~MReadTree()
 {
+    //
+    // Delete all the pointers to pointers to the objects where the
+    // branche data gets stored.
+    //
+    TIter Next(fChain->GetStatus());
+
+    TChainElement *element = NULL;
+    while ((element=(TChainElement*)Next()))
+        delete (MParContainer**)element->GetBaddress();
+
+    //
+    // Delete the chain and the veto list
+    //
 #if ROOT_VERSION_CODE < ROOT_VERSION(3,03,00)
     if (fChain->GetFile())
         delete fChain->GetFile();
 #endif
-    //
-    // Delete all the pointers to pointers to the objects where the
-    // branche data gets stored.
-    //
-    TIter Next(fChain->GetStatus());
-
-    TChainElement *element = NULL;
-    while ((element=(TChainElement*)Next()))
-        delete (MParContainer**)element->GetBaddress();
-
-    //
-    // Delete the chain and the veto list
-    //
     delete fChain;
+
     delete fNotify;
     delete fVetoList;
@@ -288,5 +289,5 @@
     //
     // Remove trailing '.' if one and try to enable the subbranch without
-    // the master barnch name. This is to be compatible with older mars
+    // the master branch name. This is to be compatible with older mars
     // and camera files.
     //
