fix warnings

This commit is contained in:
caitianchi 2024-05-29 04:35:08 +08:00
parent 07f48f9669
commit c38d152d7d

View File

@ -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 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->image_embeds[i] = std::vector<struct llava_image_embed *>();
}