fix: remove dangling pointer to work_output in CLIPTextModel (#111)

This commit is contained in:
Sam Jones 2023-12-10 02:05:02 +00:00 committed by GitHub
parent 69efe3ce2b
commit ca33304318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1124,6 +1124,7 @@ struct CLIPTextModel {
ggml_backend_buffer_free(compute_buffer);
compute_alloc = NULL;
compute_memory_buffer_size = -1;
work_output = NULL;
}
};