Fixing memory leak
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Apr 2007 09:28:37 +0000 (09:28 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Apr 2007 09:28:37 +0000 (09:28 +0000)
(Laurent)

MUON/MUONStatusMap.C

index 07c6fc99bc637ba599197b1bec0e9c00619c22db..3797db68eef0069e9a8aed374e669f11704b1175 100644 (file)
@@ -51,6 +51,7 @@ void findBad(const AliMUONV2DStore& status)
     {
       cout << Form("DE %4d ManuId %4d",detElemId,manuId) << endl;
     }
+    if (it->IsOwner()) delete pair;
   }
 }