From: Wolfgang Bangerth Date: Fri, 2 May 2025 23:41:16 +0000 (-0600) Subject: Prefer std::free() over ::free(). X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18438%2Fhead;p=dealii.git Prefer std::free() over ::free(). --- 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());