Replace most strdup with gmx_strdup
[alexxy/gromacs.git] / src / gromacs / fileio / tpxio.c
index 96c948f9a6d7a803b5a59690924f0bfe1938f50f..5004a8666432a796b50f7a8692729bba457946aa 100644 (file)
@@ -2723,7 +2723,7 @@ static void do_symtab(t_fileio *fio, t_symtab *symtab, gmx_bool bRead)
         for (i = 0; (i < nr); i++)
         {
             gmx_fio_do_string(fio, buf);
-            symbuf->buf[i] = strdup(buf);
+            symbuf->buf[i] = gmx_strdup(buf);
         }
     }
     else