MCPcopy Create free account
hub / github.com/apache/arrow / DeallocateAligned

Method DeallocateAligned

cpp/src/arrow/memory_pool.cc:361–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 }
360
361 static void DeallocateAligned(uint8_t* ptr, int64_t size, int64_t /*alignment*/) {
362 if (ptr == memory_pool::internal::kZeroSizeArea) {
363 DCHECK_EQ(size, 0);
364 } else {
365#ifdef _WIN32
366 _aligned_free(ptr);
367#else
368 free(ptr);
369#endif
370 }
371 }
372
373 static void ReleaseUnused() {
374#ifdef __GLIBC__

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected