From 3145e2d2f565c5da599dd50e9c70b9e9ff3d5965 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 18 Feb 2026 13:47:53 +0100 Subject: Cleanup and refactor --- npc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/npc.c b/npc.c index 891ec90..9129864 100644 --- a/npc.c +++ b/npc.c @@ -226,6 +226,7 @@ static int execute_prompt_with_context(const ModelConfig *cfg, const char *promp free(prompt_tokens); free(system_prefix); free(out); + llama_sampler_free(smpl); llama_free(ctx); llama_model_free(model); -- cgit v1.2.3