gg: fix leak in draw_image_with_config
parent
98b2bdb410
commit
1313dcf601
|
@ -117,7 +117,7 @@ pub fn (ctx &Context) draw_image_with_config(config DrawImageConfig) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
img := ctx.image_cache[id]
|
img := &ctx.image_cache[id]
|
||||||
if !img.simg_ok {
|
if !img.simg_ok {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue