Skip to content

Commit ca33304

Browse files
authored
fix: remove dangling pointer to work_output in CLIPTextModel (leejet#111)
1 parent 69efe3c commit ca33304

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stable-diffusion.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,7 @@ struct CLIPTextModel {
11241124
ggml_backend_buffer_free(compute_buffer);
11251125
compute_alloc = NULL;
11261126
compute_memory_buffer_size = -1;
1127+
work_output = NULL;
11271128
}
11281129
};
11291130

0 commit comments

Comments
 (0)