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
/
gmx_polystat.c
diff --git
a/src/gromacs/gmxana/gmx_polystat.c
b/src/gromacs/gmxana/gmx_polystat.c
index 3595fc9eef12e9a32cadcdeb72d6bbba21ba64c6..bed77c36da75e6f7f5cbdc5da0b0597a40bbfb01 100644
(file)
--- a/
src/gromacs/gmxana/gmx_polystat.c
+++ b/
src/gromacs/gmxana/gmx_polystat.c
@@
-233,7
+233,7
@@
int gmx_polystat(int argc, char *argv[])
for (d2 = 0; d2 < DIM; d2++)
{
sprintf(buf, "eig%d %c", d+1, 'x'+d2);
- legp[d*DIM+d2] = strdup(buf);
+ legp[d*DIM+d2] =
gmx_
strdup(buf);
}
}
xvgr_legend(outv, DIM*DIM, (const char**)legp, oenv);