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

Method destroyInternalCacheNode

src/CppUTest/SimpleStringInternalCache.cpp:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void SimpleStringInternalCache::destroyInternalCacheNode(SimpleStringInternalCacheNode * node)
97{
98 allocator_->free_memory((char*) node, sizeof(SimpleStringInternalCacheNode) * amountOfInternalCacheNodes, __FILE__, __LINE__);
99}
100
101SimpleStringMemoryBlock* SimpleStringInternalCache::createSimpleStringMemoryBlock(size_t size, SimpleStringMemoryBlock* next)
102{

Callers

nothing calls this directly

Calls 1

free_memoryMethod · 0.45

Tested by

no test coverage detected