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
Clean up leaks in t_inputrec
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxpreprocess
/
grompp.cpp
diff --git
a/src/gromacs/gmxpreprocess/grompp.cpp
b/src/gromacs/gmxpreprocess/grompp.cpp
index 11a7d0c551bcd4c01b436179b75c5472125941b2..a6d17f12b00899c4ffa78d123697e3149696ae13 100644
(file)
--- a/
src/gromacs/gmxpreprocess/grompp.cpp
+++ b/
src/gromacs/gmxpreprocess/grompp.cpp
@@
-2531,6
+2531,8
@@
int gmx_grompp(int argc, char* argv[])
sfree(opts->wall_atomtype[0]);
sfree(opts->wall_atomtype[1]);
sfree(opts->include);
+ sfree(opts->couple_moltype);
+
for (auto& mol : mi)
{
// Some of the contents of molinfo have been stolen, so