Skip to content

Commit

Permalink
update test-fuzz.c for new realloc api
Browse files Browse the repository at this point in the history
  • Loading branch information
spaskalev committed Nov 22, 2023
1 parent be1c968 commit b962bc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-fuzz.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int main(void)
} else {
size = size*2;
}
buddy_realloc(b, allocs[slot], size);
buddy_realloc(b, allocs[slot], size, true);
}
assert(buddy_tree_check_invariant(tree, buddy_tree_root()) == 0);
allocs[slot] = 0;
Expand All @@ -39,4 +39,4 @@ int main(void)
assert(buddy_tree_check_invariant(tree, buddy_tree_root()) == 0);
}
}
}
}

0 comments on commit b962bc4

Please sign in to comment.