Replace most strdup with gmx_strdup
[alexxy/gromacs.git] / src / gromacs / fileio / confio.c
index 4bddce5400969d5aa43a87ac1903a08fbaf126b9..32ad75f5c798b2dde01ec1111a1b6692ee55121c 100644 (file)
@@ -256,7 +256,7 @@ int read_g96_conf(FILE *fp, const char *infile, t_trxframe *fr, char *line)
         if (fr->title == NULL)
         {
             fgets2(line, STRLEN, fp);
-            fr->title = strdup(line);
+            fr->title = gmx_strdup(line);
         }
         bEnd = FALSE;
         while (!bEnd && fgets2(line, STRLEN, fp))