tool/ex/tests: consistently free ctx, then model (#18168)

This commit is contained in:
Johannes Gäßler authored and GitHub committed 2025-12-22 11:00:37 +01:00
1 parent e1f15b454f
commit 147a521636
8 files changed
+48 -19

No files matched your search

+1 -1
View File
@@ -146,8 +146,8 @@ int main(int argc, char **argv) {
}
}
llama_model_free(model);
llama_free(ctx);
llama_model_free(model);
llama_backend_free();