biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge release-4-6 into master
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
typedefs.c
diff --git
a/src/gromacs/gmxlib/typedefs.c
b/src/gromacs/gmxlib/typedefs.c
index 0a6eb8e894cef286c77945091bb9064b7f33a60f..6d818ebc092f42a7283e0d45cc934f7bd794ef9f 100644
(file)
--- a/
src/gromacs/gmxlib/typedefs.c
+++ b/
src/gromacs/gmxlib/typedefs.c
@@
-283,6
+283,8
@@
void done_atom (t_atoms *at)
sfree(at->atomname);
sfree(at->atomtype);
sfree(at->atomtypeB);
+ if (at->pdbinfo)
+ sfree(at->pdbinfo);
}
void done_atomtypes(t_atomtypes *atype)