From d502bc7c9d9d6dfb3a09aea404395b666d7b374d Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Tue, 28 Mar 2023 19:51:55 +0300 Subject: tests : free llama context at the end of the test --- tests/test-tokenizer-0.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test-tokenizer-0.cpp') diff --git a/tests/test-tokenizer-0.cpp b/tests/test-tokenizer-0.cpp index 38205532..55b086da 100644 --- a/tests/test-tokenizer-0.cpp +++ b/tests/test-tokenizer-0.cpp @@ -77,5 +77,7 @@ int main(int argc, char **argv) { } } + llama_free(ctx); + return 0; } -- cgit v1.2.3