MCPcopy Create free account
hub / github.com/WheretIB/nullc / ~ObjectBlockPool

Method ~ObjectBlockPool

NULLC/StdLib.cpp:79–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 lastNum = countInBlock;
78 }
79 ~ObjectBlockPool()
80 {
81 if(!activePages)
82 return;
83 do
84 {
85 MyLargeBlock* following = activePages->next;
86 NULLC::dealloc(activePages);
87 activePages = following;
88 }while(activePages != NULL);
89 freeBlocks = &lastBlock;
90 activePages = NULL;
91 lastNum = countInBlock;
92 sortedPages.reset();
93 }
94
95 void* Alloc()
96 {

Callers 1

ClearMemoryMethod · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected