Replace most strdup with gmx_strdup
[alexxy/gromacs.git] / src / gromacs / fileio / enxio.c
index 8f164e63336e8670dbf740abd3f599cd1bd3d690..f77d26ab0b888c7964baf3be1c7962e3cdd2c319 100644 (file)
@@ -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");
         }
     }
 }