]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Prefer std::free() over ::free(). 18438/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 2 May 2025 23:41:16 +0000 (17:41 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 8 May 2025 01:13:51 +0000 (19:13 -0600)
include/deal.II/base/hdf5.h

index 4ccc052ee8fb398479778207763cfc03e112fdaa..50aa7fa5a2010c0d695956cb6383592ea34e2c02 100644 (file)
@@ -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());
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.