Properly deleting loader (I.Hrivnacova)
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Apr 2010 23:32:59 +0000 (23:32 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Apr 2010 23:32:59 +0000 (23:32 +0000)
STEER/AliSimulation.cxx

index 0bb13bc..9cb9932 100644 (file)
@@ -1341,6 +1341,7 @@ Bool_t AliSimulation::WriteRawData(const char* detectors,
        sprintf(command, "rm -r raw%d", iEvent);
        gSystem->Exec(command);
       }
+      delete runLoader;
     }
 
     if (rootOutput) {