MCPcopy Create free account
hub / github.com/PX4/eigen / handmade_aligned_free

Function handmade_aligned_free

Eigen/src/Core/util/Memory.h:96–99  ·  view source on GitHub ↗

\internal Frees memory allocated with handmade_aligned_malloc */

Source from the content-addressed store, hash-verified

94
95/** \internal Frees memory allocated with handmade_aligned_malloc */
96inline void handmade_aligned_free(void *ptr)
97{
98 if (ptr) std::free(*(reinterpret_cast<void**>(ptr) - 1));
99}
100
101/** \internal
102 * \brief Reallocates aligned memory.

Callers 2

aligned_freeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected