GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » memory leaks
memory leaks [message #9355] Wed, 09 September 2009 14:22 Go to previous message
Anonymous Poster From: *e18.physik.tu-muenchen.de
Hi everybody,

I found in a few tasks that people do a Clear() call at the beginning of their tasks' Exec() methods on their output TClonesArray. PLease be aware that this is a memory leak. You should replace the Clear() call with a Delete() call.

I didnt use the ticket system because this could concern many developers.

Cheers, Christian
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mac OS X 10.6 Snow Leopard
Next Topic: [Release] Analysis: Rho & PidCandidate
Goto Forum:
  


Current Time: Fri Mar 29 08:31:12 CET 2024

Total time taken to generate the page: 0.01187 seconds