Skip to content

Commit

Permalink
fix: remove dangling pointer to work_output in CLIPTextModel (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spadi0 authored Dec 10, 2023
1 parent 69efe3c commit ca33304
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stable-diffusion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,7 @@ struct CLIPTextModel {
ggml_backend_buffer_free(compute_buffer);
compute_alloc = NULL;
compute_memory_buffer_size = -1;
work_output = NULL;
}
};

Expand Down

0 comments on commit ca33304

Please sign in to comment.