memory-allocators
memory-allocators copied to clipboard
freelist allcoator bugfix
- when allocate memory: if rest < sizeof(Node), it should not insert to free list.
- when free memory: if free list head is nullptr, we should set head ptr.
- when free memory: free node ptr should offset padding bytes.