Corrected deletion of gMC (I.Hrivnacova)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Jun 2003 14:49:29 +0000 (14:49 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Jun 2003 14:49:29 +0000 (14:49 +0000)
STEER/AliRun.cxx

index ff21e780a0ded6be95266ca48e4f74675dccc441..9a88b014bd3f9d181b8afa9a5f9715eea62a2779 100644 (file)
@@ -271,7 +271,8 @@ AliRun::~AliRun()
   if(fTreeE)curfil=fTreeE->GetCurrentFile();
   delete fImedia;
   delete fField;
-  delete fMC;
+  // delete fMC;
+  delete gMC; gMC=0;
   delete fGeometry;
   delete fDisplay;
   delete fGenerator;