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_vanhove.c
diff --git
a/src/gromacs/gmxana/gmx_vanhove.c
b/src/gromacs/gmxana/gmx_vanhove.c
index 253027e0cb3b4644040907f55cafd40b9ad02d8a..4aa720fdebe15410f5d5873325bedd90664c5832 100644
(file)
--- a/
src/gromacs/gmxana/gmx_vanhove.c
+++ b/
src/gromacs/gmxana/gmx_vanhove.c
@@
-443,7
+443,7
@@
int gmx_vanhove(int argc, char *argv[])
for (fbin = 0; fbin < nr; fbin++)
{
sprintf(buf, "%g ps", (fbin + 1)*fshift*dt);
- legend[fbin] = strdup(buf);
+ legend[fbin] =
gmx_
strdup(buf);
}
xvgr_legend(fp, nr, (const char**)legend, oenv);
for (i = 0; i < nalloc; i++)