aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-03-28 19:51:55 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2023-03-28 19:51:55 +0300
commitd502bc7c9d9d6dfb3a09aea404395b666d7b374d (patch)
treed29e28de435e150a9a546e4724150834bc39a5a3 /tests
parent436e56193199a1625f8c561069f702e8840a9e08 (diff)
tests : free llama context at the end of the test
Diffstat (limited to 'tests')
-rw-r--r--tests/test-tokenizer-0.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-tokenizer-0.cpp b/tests/test-tokenizer-0.cpp
index 3820553..55b086d 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;
}