llama_control_vector_load: free contexts on successful exit
This commit is contained in:
parent
181879f942
commit
9914014e17
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue