diff --git a/src/backends/native/meta-kms-connector.c b/src/backends/native/meta-kms-connector.c index 226dd5e71..8eed11229 100644 --- a/src/backends/native/meta-kms-connector.c +++ b/src/backends/native/meta-kms-connector.c @@ -490,6 +490,8 @@ meta_kms_connector_update_state (MetaKmsConnector *connector, meta_kms_connector_read_state (connector, impl_device, drm_connector, drm_resources); + if (drm_connector) + drmModeFreeConnector (drm_connector); } static void