fix loop over pointer

Co-authored-by: slaren <slarengh@gmail.com>
This commit is contained in:
Pierrick Hymbert 2024-03-22 00:38:23 +01:00 committed by GitHub
parent 0fd652eba7
commit 1a179bfc4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3040,7 +3040,7 @@ struct llama_model_loader {
if (meta) {
gguf_free(meta);
}
for (auto & ctx : contexts) {
for (auto * ctx : contexts) {
ggml_free(ctx);
}
}