This is fortunately not to big an issue, but it's always good to be thorough
when it comes to keeping track of pointers.
The line should read :
if (parm!=NULL) clearParm(parm);
since I believe the parm structure is not initialized if non-amber top is
used. I will check this in to the CVS tree after testing.
-Dan
On Mon, Feb 22, 2010 at 11:57 AM, Hannes Loeffler <
Hannes.Loeffler.stfc.ac.uk> wrote:
> Hi,
>
> I think there is a bug in ptrajCleanup (ptraj.c) showing up in the last
> line:
>
> clearParm(parm);
>
> Gdb tells me that parm is a null pointer when the function is called.
> I should point out that I do not see this problem with AMBER top/crd
> files but only with PSF/DCD input (NAMD generated).
>
>
> Cheers,
> Hannes.
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers
>
--
-Dan
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Mon Feb 22 2010 - 09:30:02 PST