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
/
hizzie.c
diff --git
a/src/gromacs/gmxpreprocess/hizzie.c
b/src/gromacs/gmxpreprocess/hizzie.c
index 6a71763a5a2c1683643bb8667882a930cfb3ad92..99c1ca92323081d8cbbe3bdc58d037531ba97123 100644
(file)
--- a/
src/gromacs/gmxpreprocess/hizzie.c
+++ b/
src/gromacs/gmxpreprocess/hizzie.c
@@
-348,7
+348,7
@@
void set_histp(t_atoms *pdba, rvec *x, real angle, real dist)
}
snew(pdba->resinfo[hisind].rtp, 1);
- *pdba->resinfo[hisind].rtp = strdup(hh[type]);
+ *pdba->resinfo[hisind].rtp =
gmx_
strdup(hh[type]);
}
}
}