Skip to content

Commit

Permalink
Fixed memory leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Mar 1, 2024
1 parent cdf7dc6 commit 2236b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ main(void)

struct SieveOfAtkin *atkin = sieve_of_atkin_new(1000000000);
size_t atkin_count = sieve_of_atkin_count(atkin);
sieve_of_eratosthenes_delete(erato);
sieve_of_atkin_delete(atkin);
assert(atkin_count == 50847531);
}

0 comments on commit 2236b62

Please sign in to comment.