- linear_allocator_block_t *block;
-
- if (((char *) ptr) < allocator->buf || ((char *) ptr) >= allocator->end)
- {
- assert (0);
- return;
- }
-
- block = linear_allocator_ptr_to_block (ptr);
- if (block->version != allocator->version)
- {
- assert (0);
- return;
- }
-
- block->flags = block->flags & ~LINEAR_ALLOCATOR_BLOCK_IN_USE;
-
- if (--allocator->num_allocated < 0)
- {
- assert (0);
- }
+ linear_allocator_block_t *block;
+
+ if (((char *)ptr) < allocator->buf || ((char *)ptr) >= allocator->end) {
+ assert(0);
+ return;
+ }
+
+ block = linear_allocator_ptr_to_block(ptr);
+ if (block->version != allocator->version) {
+ assert(0);
+ return;
+ }
+
+ block->flags = block->flags & ~LINEAR_ALLOCATOR_BLOCK_IN_USE;
+
+ if (--allocator->num_allocated < 0) {
+ assert(0);
+ }