fix segfault, kcpp is now debuggable

This commit is contained in:
Concedo 2024-08-19 13:50:49 +08:00
parent 1fbf21eec4
commit 3bd70d75ea
2 changed files with 18 additions and 7 deletions

View file

@ -1108,7 +1108,7 @@ struct clip_ctx * clip_model_load(const char * fname, const int verbosity = 1) {
}
}
clip_ctx * new_clip = new clip_ctx;
clip_ctx * new_clip = new clip_ctx{};
// update projector type
{