| 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; |
no outgoing calls
no test coverage detected