AMBER Archive (2009)

Subject: Re: [AMBER] nasty memory bug in calculatePrincipalAxis

From: Scott Brozell (sbrozell_at_rci.rutgers.edu)
Date: Mon Oct 12 2009 - 16:38:06 CDT


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_at_ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber