From 8f91b52fdf3cc932c648f5d72f394d2aa7599d63 Mon Sep 17 00:00:00 2001 From: Bach Le Date: Fri, 7 Jul 2023 22:50:42 +0800 Subject: [PATCH] Free guidance context --- examples/main/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/main/main.cpp b/examples/main/main.cpp index dbc384f52..7e3193839 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -772,6 +772,7 @@ int main(int argc, char ** argv) { } llama_print_timings(ctx); + llama_free(guidance_ctx); llama_free(ctx); llama_free_model(model);