mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gg: fix leak in draw_image_with_config
This commit is contained in:
parent
98b2bdb410
commit
1313dcf601
@ -117,7 +117,7 @@ pub fn (ctx &Context) draw_image_with_config(config DrawImageConfig) {
|
||||
return
|
||||
}
|
||||
|
||||
img := ctx.image_cache[id]
|
||||
img := &ctx.image_cache[id]
|
||||
if !img.simg_ok {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user