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:
65a933b
)
Remove repeat sfree(state->nosehoover_xi)
author
Mark Abraham
<mark.j.abraham@gmail.com>
Thu, 19 Sep 2013 16:28:21 +0000
(18:28 +0200)
committer
Gerrit Code Review
<gerrit@gerrit.gromacs.org>
Fri, 20 Sep 2013 21:59:44 +0000
(23:59 +0200)
I2acb48b829c introduced a repeat sfree of nosehoover_xi,
this patch removes the old one. As reported by Christian Wennberg.
Change-Id: Ifef1096f23c595873ae7a35f0fad688783ab1ed8
src/gromacs/gmxlib/typedefs.c
patch
|
blob
|
history
diff --git
a/src/gromacs/gmxlib/typedefs.c
b/src/gromacs/gmxlib/typedefs.c
index e18b161522ec6c41bf6b2e62f5ac2857d23d9eec..892bcead25e62f0176d8c81dd00974183550f4c1 100644
(file)
--- a/
src/gromacs/gmxlib/typedefs.c
+++ b/
src/gromacs/gmxlib/typedefs.c
@@
-624,10
+624,6
@@
void init_state(t_state *state, int natoms, int ngtc, int nnhpres, int nhchainle
void done_state(t_state *state)
{
- if (state->nosehoover_xi)
- {
- sfree(state->nosehoover_xi);
- }
if (state->x)
{
sfree(state->x);