Skip to content

Commit

Permalink
fixing memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Jan 4, 2024
1 parent 7c1fd03 commit 1b9c69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/toplevel_unit.c
Original file line number Diff line number Diff line change
Expand Up @@ -4732,7 +4732,7 @@ DEFINE_TEST(issue538b) {
roaring_bitmap_set_copy_on_write(expected, 1);
assert_true(roaring_bitmap_get_cardinality(toshift) == roaring_bitmap_get_cardinality(expected));
assert_true(roaring_bitmap_equals(shifted, expected));

roaring_bitmap_free(toshift_copy);
roaring_bitmap_free(toshift);
roaring_bitmap_free(shifted);
roaring_bitmap_free(expected);
Expand Down

0 comments on commit 1b9c69b

Please sign in to comment.