Message: Re: Memory leaks in G4BinaryCascade Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

News Re: Memory leaks in G4BinaryCascade 

Forum: Physics List
Re: None Memory leaks in G4BinaryCascade (Allen Barnett)
Date: 12 Jul, 2017
From: Michael H. Kelsey <Michael H. Kelsey>

On Tue, 11 Jul 2017 21:31:06 GMT, Allen Barnett wrote:
> Hi: I think I've found a couple of memory leaks in G4BinaryCascade in
> Geant4.10.03.p01.
> 1. The destructor should ClearAndDestroy theFinalState.
> 2. Around line 350 of, a G4DynamicParticle is created
> on the heap for each product of the reaction. These are never freed.

I believe you are correct. These leaks were seen in the ongoing development releases by the Collaboration. They are all fixed in the recently announced 10.04 BETA release, and will also be included in a future 10.03.p02 release when one is made.

  -- Michael Kelsey

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Memory leaks in G4BinaryCascade   (Allen Barnett - 13 Jul, 2017)
 Add Message Add Message
to: "Re: Memory leaks in G4BinaryCascade"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]