diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c<br>index c0ee79f..5c2a597 100644<br>--- a/src/cairo-gl-surface.c<br>+++ b/src/cairo-gl-surface.c<br>@@ -973,9 +973,9 @@ _cairo_gl_surface_finish (void *abstract_surface)<br>
if (surface->owns_tex)<br> glDeleteTextures (1, &surface->tex);<br> <br>-#if CAIRO_HAS_GL_SURFACE<br> if (surface->msaa_depth_stencil)<br> ctx->dispatch.DeleteRenderbuffers (1, &surface->msaa_depth_stencil);<br>
+#if CAIRO_HAS_GL_SURFACE<br> if (surface->msaa_fb)<br> ctx->dispatch.DeleteFramebuffers (1, &surface->msaa_fb);<br> if (surface->msaa_rb)<br><br><br>If cairo will be configured with next options: ./confugire --enable-gl=no --enable-glesv2=yes --enable-egl=yes, and we'll use gl/msaa compositor (export CAIRO_GL_COMPOSITOR=msaa)<br>
and GL_RENDERER support next extension - "GL_IMG_multisampled_render_to_texture" or "GL_EXT_multisampled_render_to_texture", we'll get memory leaks on <span id="result_box" class="short_text" lang="en"><span class="hps">embedded</span></span> devices (GLESv2).<br>