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
Replace most strdup with gmx_strdup
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxpreprocess
/
tomorse.c
diff --git
a/src/gromacs/gmxpreprocess/tomorse.c
b/src/gromacs/gmxpreprocess/tomorse.c
index 1cb0f55f5be54501edd499a57042adc4bc2e26a3..b6b4baf3f24fd240b4dd6aa046bd382c7d247c6e 100644
(file)
--- a/
src/gromacs/gmxpreprocess/tomorse.c
+++ b/
src/gromacs/gmxpreprocess/tomorse.c
@@
-84,8
+84,8
@@
static t_2morse *read_dissociation_energies(int *n2morse)
srenew(t2m, maxn2m);
}
/* Copy the values */
- t2m[n2m].ai = strdup(ai);
- t2m[n2m].aj = strdup(aj);
+ t2m[n2m].ai =
gmx_
strdup(ai);
+ t2m[n2m].aj =
gmx_
strdup(aj);
t2m[n2m].e_diss = e_diss;
/* Increment counter */
n2m++;