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
/
gmxana
/
nsfactor.c
diff --git
a/src/gromacs/gmxana/nsfactor.c
b/src/gromacs/gmxana/nsfactor.c
index d53a162fa8b414d8555575bd5af8c696aebd2487..c8e70dd921cd2fc5ef11f8c2931ab7f605feef27 100644
(file)
--- a/
src/gromacs/gmxana/nsfactor.c
+++ b/
src/gromacs/gmxana/nsfactor.c
@@
-115,7
+115,7
@@
gmx_neutron_atomic_structurefactors_t *gmx_neutronstructurefactors_init(const ch
i = line_no;
if (sscanf(line, "%s %d %d %lf", atomnm, &p, &n, &slength) == 4)
{
- gnsf->atomnm[i] = strdup(atomnm);
+ gnsf->atomnm[i] =
gmx_
strdup(atomnm);
gnsf->n[i] = n;
gnsf->p[i] = p;
gnsf->slength[i] = slength;