Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commented_heap.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void init_heap(heap_t *heap, int start) {
// the heap struct pointer and the size of the chunk we
// want. this function will search through the bins until
// it finds a suitable chunk. it will then split the chunk
// if neccesary and return the start of the chunk
// if necessary and return the start of the chunk
// ========================================================
void *heap_alloc(heap_t *heap, size_t size) {
// first get the bin index that this chunk size should be in
Expand Down