MCPcopy Create free account
hub / github.com/creatale/node-dv / free

Method free

deps/opencv/modules/core/src/alloc.cpp:326–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 }
325
326 void free(Block* block)
327 {
328 AutoLock lock(cs);
329 block->prev = 0;
330 block->next = freeBlocks;
331 freeBlocks = block;
332 STAT(stat.bruttoBytes -= MEM_BLOCK_SIZE);
333 }
334
335 CriticalSection cs;
336 Block* freeBlocks;

Callers 3

releaseMethod · 0.45
~ThreadDataMethod · 0.45
fastFreeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected