Index: /trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc
===================================================================
--- /trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc	(revision 2214)
+++ /trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc	(revision 2215)
@@ -504,5 +504,6 @@
     fFont = gVirtualX->LoadQueryFont("7x13bold");
 
-    fBatch.SetOwner();
+    fBatch = new TList;
+    fBatch->SetOwner();
 
     //
@@ -563,4 +564,5 @@
 
     delete fList;
+    delete fBatch;
 
     if (fFont)
@@ -605,5 +607,5 @@
 {
     if (gROOT->IsBatch())
-        return (TCanvas*)fBatch.At(i-1);
+        return (TCanvas*)fBatch->At(i-1);
 
     if (i<0 || i>=fTab->GetNumberOfTabs())
@@ -672,5 +674,5 @@
     {
         TCanvas *c = new TCanvas(name, name);
-        fBatch.Add(c);
+        fBatch->Add(c);
         return *c;
     }
@@ -832,5 +834,5 @@
 {
     if (gROOT->IsBatch())
-        return (Bool_t)fBatch.FindObject(c);
+        return (Bool_t)fBatch->FindObject(c);
 
     for (int i=1; i<fTab->GetNumberOfTabs(); i++)
@@ -1341,5 +1343,5 @@
         return 0;
     }
-    if (gROOT->IsBatch() && num>fBatch.GetSize())
+    if (gROOT->IsBatch() && num>fBatch->GetSize())
     {
         *fLog << warn << "MStatusDisplay::Write: Tab doesn't exist... skipped." << endl;
@@ -1349,5 +1351,5 @@
     TObjArray list;
 
-    const Int_t max  = gROOT->IsBatch() ? fBatch.GetSize()+1 : fTab->GetNumberOfTabs();
+    const Int_t max  = gROOT->IsBatch() ? fBatch->GetSize()+1 : fTab->GetNumberOfTabs();
     const Int_t from = num<0 ?   1 : num;
     const Int_t to   = num<0 ? max : num+1;
@@ -1447,5 +1449,5 @@
 {
     if (gROOT->IsBatch())
-        return num>0 && num<=fBatch.GetSize() || num<0;
+        return num>0 && num<=fBatch->GetSize() || num<0;
 
     if (num>=fTab->GetNumberOfTabs())
@@ -1573,5 +1575,5 @@
     // Maintain tab numbers
     //
-    const Int_t max  = gROOT->IsBatch() ? fBatch.GetSize()+1 : fTab->GetNumberOfTabs();
+    const Int_t max  = gROOT->IsBatch() ? fBatch->GetSize()+1 : fTab->GetNumberOfTabs();
     const Int_t from = num<0 ?   1 : num;
     const Int_t to   = num<0 ? max : num+1;
Index: /trunk/MagicSoft/Mars/mmain/MStatusDisplay.h
===================================================================
--- /trunk/MagicSoft/Mars/mmain/MStatusDisplay.h	(revision 2214)
+++ /trunk/MagicSoft/Mars/mmain/MStatusDisplay.h	(revision 2215)
@@ -75,5 +75,5 @@
     UInt_t fIsLocked;
 
-    TList fBatch;
+    TList *fBatch;          //!
 
     void AddMenuBar();
