llama.cpp
llama.cpp copied to clipboard
examples: bugfix: fix memory leak on main.cpp
We must free ctx and model after program exited.