From b1c000cc01296a8c67d9fa5df863d171567af9ab Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 3 Jun 2025 10:29:37 +0000 Subject: parse_test_file: add a missing call to finish in last cleanup --- src/regress/lib/libcrypto/mlkem/parse_test_file.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/mlkem/parse_test_file.c b/src/regress/lib/libcrypto/mlkem/parse_test_file.c index 1bb2d3af9b..9f3e5f3a1a 100644 --- a/src/regress/lib/libcrypto/mlkem/parse_test_file.c +++ b/src/regress/lib/libcrypto/mlkem/parse_test_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse_test_file.c,v 1.5 2025/06/03 10:25:29 tb Exp $ */ +/* $OpenBSD: parse_test_file.c,v 1.6 2025/06/03 10:29:37 tb Exp $ */ /* * Copyright (c) 2024 Theo Buehler @@ -736,7 +736,10 @@ parse_next_line(struct parse *p) static void parse_finish(struct parse *p) { + const struct test_parse *tctx = p->tctx; + parse_state_finish(&p->state); + tctx->finish(p->ctx); free(p->buf); -- cgit v1.2.3-55-g6feb