| Summary: | G4Transportation seems to have memory leak | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | yoshinori.sato |
| Component: | processes/transportation | Assignee: | John Apostolakis <John.Apostolakis> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 8.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
yoshinori.sato
2006-04-28 00:49:43 CEST
A simple inspection shows that indeed the destructor does not clear the memory for the fCurrentTouchableHandle data member. We will correct it in the next version. Thank you and best regards, John Apostolakis Dear John and others, Thank you for identifing the problem. Please tell me where and how to fix the memory leak in G4Transportation.cc. Is it O.K. to add "delete fCurrentTouchableHandle" in the destructor ? Sincerely, Yoshinori Sato We have included a fix for this problem in release 8.2. Please see http://www-geant4.kek.jp/lxr/source/processes/transportation/src/G4Transportation.cc?v=8.2 Best regards, John Apostolakis |