MCPcopy Create free account
hub / github.com/Gecode/gecode / release

Method release

gecode/kernel/memory/manager.hpp:364–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362 }
363
364 forceinline void
365 MemoryManager::release(SharedMemory& sm) {
366 // Release all allocated heap chunks
367 HeapChunk* hc = cur_hc;
368 do {
369 HeapChunk* t = hc; hc = static_cast<HeapChunk*>(hc->next);
370 sm.free(t);
371 } while (hc != nullptr);
372 }
373
374
375

Callers

nothing calls this directly

Calls 1

freeMethod · 0.45

Tested by

no test coverage detected