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
/
fileio
/
enxio.c
diff --git
a/src/gromacs/fileio/enxio.c
b/src/gromacs/fileio/enxio.c
index 8f164e63336e8670dbf740abd3f599cd1bd3d690..f77d26ab0b888c7964baf3be1c7962e3cdd2c319 100644
(file)
--- a/
src/gromacs/fileio/enxio.c
+++ b/
src/gromacs/fileio/enxio.c
@@
-375,7
+375,7
@@
static void edr_strings(XDR *xdr, gmx_bool bRead, int file_version,
}
else
{
- nm->unit = strdup("kJ/mol");
+ nm->unit =
gmx_
strdup("kJ/mol");
}
}
}