Replace most strdup with gmx_strdup
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_wham.cpp
index a37f2ca50359d7e137e9eff6aed3f1f590e0f422..7a0240a4a28116b662d6e02ed3b25298c2d51ad3 100644 (file)
@@ -1453,7 +1453,7 @@ void print_histograms(const char *fnhist, t_UmbrellaWindow * window, int nWindow
     }
     else
     {
-        fn = strdup(fnhist);
+        fn = gmx_strdup(fnhist);
         strcpy(title, "Umbrella histograms");
     }