Skip to content

Commit 9b3ea90

Browse files
author
Sriya Pratipati
committed
fixed memory issues
1 parent b72d9bb commit 9b3ea90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc/fuzzing/math/sincos_fuzz.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,7 @@ extern "C" int LLVMFuzzerTestOneInput(double x) {
4545
__builtin_trap();
4646

4747
mpfr_clear(input);
48+
mpfr_clear(sin_x);
49+
mpfr_clear(cos_x);
4850
return 0;
4951
}

0 commit comments

Comments
 (0)