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
/
nrama.c
diff --git
a/src/gromacs/gmxana/nrama.c
b/src/gromacs/gmxana/nrama.c
index db6e0d75101386e2c70b5c44fe3a03a8d7988802..c977418324fe0e09bba9fb99b7a78125529e4b35 100644
(file)
--- a/
src/gromacs/gmxana/nrama.c
+++ b/
src/gromacs/gmxana/nrama.c
@@
-142,7
+142,7
@@
static void add_xr(t_xrama *xr, int ff[5], t_atoms *atoms)
xr->pp[xr->npp].bShow = FALSE;
sprintf(buf, "%s-%d", *atoms->resinfo[atoms->atom[ff[1]].resind].name,
atoms->resinfo[atoms->atom[ff[1]].resind].nr);
- xr->pp[xr->npp].label = strdup(buf);
+ xr->pp[xr->npp].label =
gmx_
strdup(buf);
xr->npp++;
}