From 2064dda2c00d133a48ccac876eb98d0e30d89b88 Mon Sep 17 00:00:00 2001 From: Fredrik Johansson Date: Tue, 5 Mar 2024 11:28:01 +0100 Subject: [PATCH] fix segfault in examples/fq_poly (reported by Andrea Lesavourey) --- examples/fq_poly.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/fq_poly.c b/examples/fq_poly.c index bdb648404f..6c4a0a9441 100644 --- a/examples/fq_poly.c +++ b/examples/fq_poly.c @@ -158,9 +158,6 @@ int main(void) fmpz_clear(p); } - fq_poly_clear(f, ctx); - fq_poly_clear(g, ctx); - fq_poly_clear(h, ctx); FLINT_TEST_CLEANUP(state); return 0;