MCPcopy Create free account
hub / github.com/cpputest/cpputest / destroyAccountantAllocationNode

Method destroyAccountantAllocationNode

src/CppUTest/TestMemoryAllocator.cpp:419–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419void MemoryAccountant::destroyAccountantAllocationNode(MemoryAccountantAllocationNode* node) const
420{
421 allocator_->free_memory((char*) node, sizeof(node), __FILE__, __LINE__);
422}
423
424MemoryAccountant::MemoryAccountant()
425 : head_(NULLPTR), allocator_(defaultMallocAllocator()), useCacheSizes_(false)

Callers

nothing calls this directly

Calls 1

free_memoryMethod · 0.45

Tested by

no test coverage detected