mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-12 19:50:17 +00:00
fix warnings
This commit is contained in:
parent
07f48f9669
commit
c38d152d7d
@ -443,7 +443,7 @@ void llava_image_embed_free_uhd(struct uhd_image_embed * embed) {
|
|||||||
for (size_t i = 0; i < embed->image_embeds.size(); ++i){
|
for (size_t i = 0; i < embed->image_embeds.size(); ++i){
|
||||||
for (size_t j = 0; j < embed->image_embeds[i].size(); ++j){
|
for (size_t j = 0; j < embed->image_embeds[i].size(); ++j){
|
||||||
free(embed->image_embeds[i][j]->embed);
|
free(embed->image_embeds[i][j]->embed);
|
||||||
free(embed->image_embeds[i][j]->embed);
|
free(embed->image_embeds[i][j]);
|
||||||
}
|
}
|
||||||
embed->image_embeds[i] = std::vector<struct llava_image_embed *>();
|
embed->image_embeds[i] = std::vector<struct llava_image_embed *>();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user