dmabuf: Don't leak the display

This commit is contained in:
Benjamin Otte 2023-11-30 11:11:58 +01:00
parent 0b0a5a52af
commit abf942efe5

View File

@ -75,6 +75,8 @@ gdk_dmabuf_texture_dispose (GObject *object)
if (self->destroy)
self->destroy (self->data);
g_clear_object (&self->display);
G_OBJECT_CLASS (gdk_dmabuf_texture_parent_class)->dispose (object);
}