Re: [AMBER] nasty memory bug in calculatePrincipalAxis

From: Scott Brozell <sbrozell.rci.rutgers.edu>
Date: Mon, 12 Oct 2009 17:38:06 -0400

Hi,

Fixed for the next release.
Thanks for the report.
Scott

On Mon, Jul 20, 2009, Hannes Loeffler wrote:

> I just wanted to report a nasty memory bug in calculatePrincipalAxis.
> The function allocates memory for amass as
> amass = safe_malloc(sizeof(double) * state->atoms);
>
> but this memory never gets freed up! With a large trajectory this may
> lead to consumption of all memory.

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Oct 12 2009 - 15:00:02 PDT
Custom Search