Re: [AMBER-Developers] malloc error when freeing pointer in CVS ptraj

From: Ben Roberts <>
Date: Tue, 16 Mar 2010 16:43:25 -0400

Hi Dan,

Thanks for that. The patch seems to work.

Does something similar need to be done for the other mask?


On 16/3/2010, at 4:19 p.m., Daniel Roe wrote:

> Hi Ben,
> This has to do with the safe_free function not really being safe. In the
> case of doing 'solvent byname' an atom mask in the code is not allocated,
> resulting in the invalid free. The attached patch should fix it. Let me know
> if it doesn't work.
> -Dan

AMBER-Developers mailing list
Received on Tue Mar 16 2010 - 14:00:04 PDT
Custom Search