buflib: correct a confusingly indented comment
Change-Id: I9ef13d697c4abb81883d4a47273e69fcc2dafe37
This commit is contained in:
parent
c8365b2bdd
commit
ef476ba298
1 changed files with 4 additions and 4 deletions
|
@ -713,13 +713,13 @@ buflib_free(struct buflib_context *ctx, int handle_num)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Otherwise, set block to the newly-freed block, and mark it free, before
|
/* Otherwise, set block to the newly-freed block, and mark it free,
|
||||||
* continuing on, since the code below expects block to point to a free
|
* before continuing on, since the code below expects block to point
|
||||||
* block which may have free space after it.
|
* to a free block which may have free space after it. */
|
||||||
*/
|
|
||||||
block = freed_block;
|
block = freed_block;
|
||||||
block->val = -block->val;
|
block->val = -block->val;
|
||||||
}
|
}
|
||||||
|
|
||||||
next_block = block - block->val;
|
next_block = block - block->val;
|
||||||
/* Check if we are merging with the free space at alloc_end. */
|
/* Check if we are merging with the free space at alloc_end. */
|
||||||
if (next_block == ctx->alloc_end)
|
if (next_block == ctx->alloc_end)
|
||||||
|
|
Loading…
Reference in a new issue