Skip to content

Commit 5b33b8d

Browse files
committed
img2img: init concat to NULL
1 parent da8f41f commit 5b33b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stable-diffusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2228,7 +2228,7 @@ sd_image_t* img2img(sd_ctx_t* sd_ctx,
22282228

22292229
sd_image_to_tensor(init_image.data, init_img);
22302230

2231-
ggml_tensor* concat_latent;
2231+
ggml_tensor* concat_latent = NULL;
22322232
ggml_tensor* denoise_mask = NULL;
22332233

22342234
ggml_tensor* init_latent = NULL;

0 commit comments

Comments
 (0)