biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba2b37
)
Free global_stat at end of do_md
author
Kevin Boyd
<kevin.boyd@uconn.edu>
Wed, 19 Dec 2018 01:23:28 +0000
(20:23 -0500)
committer
Berk Hess
<hess@kth.se>
Fri, 21 Dec 2018 14:39:26 +0000
(15:39 +0100)
Freeing function existed but hadn't been called. Fixes
small leak
Change-Id: I1ee94ffc345beb0089e6aaa070bdcb0371728311
src/gromacs/mdrun/md.cpp
patch
|
blob
|
history
diff --git
a/src/gromacs/mdrun/md.cpp
b/src/gromacs/mdrun/md.cpp
index 765ffd18a627c57c52c7687a4235ee1284a6a9f2..47b773477bdbb1cdaa85b39915c9b4bfb27b1a52 100644
(file)
--- a/
src/gromacs/mdrun/md.cpp
+++ b/
src/gromacs/mdrun/md.cpp
@@
-1529,6
+1529,8
@@
void gmx::Integrator::do_md()
sfree(enerd);
+ global_stat_destroy(gstat);
+
/* Clean up topology. top->atomtypes has an allocated pointer if no domain decomposition*/
if (!DOMAINDECOMP(cr))
{