Problem 1585 - Memory leak in G4GMocrenFile.cc
Summary: Memory leak in G4GMocrenFile.cc
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization (show other problems)
Version: 10.0
Hardware: All All
: P5 normal
Assignee: perl
URL:
Depends on:
Blocks:
 
Reported: 2014-03-06 14:42 CET by Alberto.Ribon
Modified: 2014-06-05 17:20 CEST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Alberto.Ribon 2014-03-06 14:42:54 CET
Federico Carminati has found a memory leak in G4GMocrenFile.cc.
It was found in G4 9.6.p02, but I think the problem is present also in G4 10.0.

The fix consists in adding the following line to the destructor of the class:
  delete kMessenger;
Comment 1 guanlisheng 2014-04-26 13:44:31 CEST
Any update here?