Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 3381)
+++ trunk/MagicSoft/Mars/Changelog	(revision 3382)
@@ -13,5 +13,5 @@
      - Added GetNumCT() function.
      - Replaced
-          fTelescopes[i]= new MGeomCorsikaCT   by
+          fTelescopes[i]= new MGeomCorsikaCT;   by
 
           MGeomCorsikaCT* dummy = new  MGeomCorsikaCT();
@@ -22,4 +22,11 @@
      - Added getter functions for telescope coordinates.
      - Added Print() function.
+
+   * mgeom/MGeomCam.cc
+     - Replaced
+	fPixels[i] = new MGeomPix;   by
+
+        MGeomPix* dummy = new MGeomPix();
+        fPixels.Add(dummy);
 
 
Index: trunk/MagicSoft/Mars/mgeom/MGeomCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomCam.cc	(revision 3381)
+++ trunk/MagicSoft/Mars/mgeom/MGeomCam.cc	(revision 3382)
@@ -85,5 +85,8 @@
 
     for (UInt_t i=0; i<npix; i++)
-        fPixels[i] = new MGeomPix;
+      {
+	MGeomPix* dummy = new MGeomPix();
+	fPixels.Add(dummy);
+      }
 
     SetReadyToSave();
