forked from AuroraMiddleware/gtk
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