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

None Re: Memory leaks in G4BinaryCascade 

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

On Wed, 12 Jul 2017 16:31:37 GMT, Michael H. Kelsey wrote:
> 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

OK. Thanks, Michael!

 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 ]