From 3bade857c70980295dde1d99ea85017c0274bd50 Mon Sep 17 00:00:00 2001 From: drbh Date: Wed, 16 Aug 2023 21:48:23 -0400 Subject: [PATCH] cleanup grammar at end of test --- tests/test-llama-grammar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test-llama-grammar.cpp b/tests/test-llama-grammar.cpp index 2fa4f99a9..f98c6531f 100644 --- a/tests/test-llama-grammar.cpp +++ b/tests/test-llama-grammar.cpp @@ -398,5 +398,6 @@ int main() delete[] candidate.code_points; candidate.code_points = nullptr; } + delete grammar; return 0; }