llama_control_vector_load: free contexts on successful exit

This commit is contained in:
Anon 2024-03-26 01:28:34 +00:00 committed by trollkotze
parent 181879f942
commit 9914014e17

View file

@ -2748,6 +2748,9 @@ static llama_control_vector_data llama_control_vector_load_one(const llama_contr
}
}
gguf_free(ctx_gguf);
ggml_free(ctx);
return result;
}