diff --git a/README.md b/README.md index 6027dfd..1c7805a 100644 --- a/README.md +++ b/README.md @@ -174,9 +174,9 @@ list to point at block index 1. +----+----+----+----+ +----+----+----+----+ 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | +----+----+----+----+ +----+----+----+----+ - +----+----+----+----+ -1 | 0 | 0 | 0 | 0 | - +----+----+----+----+ + +----+----+----+----+ + 1 | 0 | 0 | 0 | 0 | + +----+----+----+----+ ``` The heap is now ready to complete the first malloc operation. @@ -205,9 +205,9 @@ pf |*?? | ?? | cf | ?? | pf |*?? | ?? | lf | ?? | +----+----+----+----+ +----+----+----+----+ cf | 0 | p | 0 | pf | c | lf | p | ... | +----+----+----+----+ +----+----+----+----+ - +----+----+----+----+ -lf | 0 | cf | 0 | pf | - +----+----+----+----+ + +----+----+----+----+ + lf | 0 | cf | 0 | pf | + +----+----+----+----+ ``` As we walk the free list looking for a block of size b or larger, we get