drm-buffer-gbm: Clear framebuffer with g_clear_object

Another fallout of eb14da3874

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1531
This commit is contained in:
Georges Basile Stavracas Neto 2020-10-26 22:38:33 -03:00
parent 8711d8d591
commit a77e1f200b

View File

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