gsk: Don't leak texture surfaces

gsk_texture_download returns a reference.
This commit is contained in:
Matthias Clasen 2016-11-17 20:29:07 -05:00
parent 39e3b3a483
commit 585b1d5f67

View File

@ -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;
}