From 5a7f129b4c0c35521c6e4273007460125c39667d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 2 May 2025 17:41:16 -0600 Subject: [PATCH] Prefer std::free() over ::free(). --- include/deal.II/base/hdf5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/base/hdf5.h b/include/deal.II/base/hdf5.h index 4ccc052ee8..50aa7fa5a2 100644 --- a/include/deal.II/base/hdf5.h +++ b/include/deal.II/base/hdf5.h @@ -1655,7 +1655,7 @@ namespace HDF5 std::string string_value(string_out); // The memory of the variable length string has to be freed. // H5Dvlen_reclaim could be also used - free(string_out); + std::free(string_out); ret = H5Tclose(type); Assert(ret >= 0, ExcInternalError()); -- 2.39.5