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
/
x2top.c
diff --git
a/src/gromacs/gmxpreprocess/x2top.c
b/src/gromacs/gmxpreprocess/x2top.c
index 085e4c84efc8b6ae890446b23aa4ab0c59da3543..d9e3a69d19d7cf90005430ad4bede1824be0fdaf 100644
(file)
--- a/
src/gromacs/gmxpreprocess/x2top.c
+++ b/
src/gromacs/gmxpreprocess/x2top.c
@@
-538,7
+538,7
@@
int gmx_x2top(int argc, char *argv[])
bOPLS = (strcmp(forcefield, "oplsaa") == 0);
- mymol.name = strdup(molnm);
+ mymol.name =
gmx_
strdup(molnm);
mymol.nr = 1;
/* Init parameter lists */