(self)
| 256 | self._discard_arena(arena) |
| 257 | |
| 258 | def _free_pending_blocks(self): |
| 259 | # Free all the blocks in the pending list - called with the lock held. |
| 260 | while True: |
| 261 | try: |
| 262 | block = self._pending_free_blocks.pop() |
| 263 | except IndexError: |
| 264 | break |
| 265 | self._add_free_block(block) |
| 266 | self._remove_allocated_block(block) |
| 267 | |
| 268 | def free(self, block): |
| 269 | # free a block returned by malloc() |
no test coverage detected