diff --git a/src/backends/native/meta-drm-buffer-gbm.c b/src/backends/native/meta-drm-buffer-gbm.c index 2d2826b58..7acd97bc4 100644 --- a/src/backends/native/meta-drm-buffer-gbm.c +++ b/src/backends/native/meta-drm-buffer-gbm.c @@ -291,7 +291,7 @@ meta_drm_buffer_gbm_blit_to_framebuffer (CoglScanout *scanout, error); out: - cogl_clear_object (&cogl_fbo); + g_clear_object (&cogl_fbo); close (dmabuf_fd); return result;