From a77e1f200be444453d8562ef4ff9bb4cae79025f Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Mon, 26 Oct 2020 22:38:33 -0300 Subject: [PATCH] drm-buffer-gbm: Clear framebuffer with g_clear_object Another fallout of eb14da3874fd7044c6ef6bf28bf33b1bfcc7a3a0 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1531 --- src/backends/native/meta-drm-buffer-gbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;