mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
gsk: Don't leak texture surfaces
gsk_texture_download returns a reference.
This commit is contained in:
parent
39e3b3a483
commit
585b1d5f67
@ -467,6 +467,7 @@ gsk_gl_driver_get_texture_for_texture (GskGLDriver *driver,
|
||||
surface,
|
||||
min_filter,
|
||||
mag_filter);
|
||||
cairo_surface_destroy (surface);
|
||||
|
||||
return t->texture_id;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user