kms: Fix drm_connector mem-leak in meta_kms_connector_update_state
https://gitlab.gnome.org/GNOME/mutter/merge_requests/713
This commit is contained in:
parent
3ccb7cf4b2
commit
0eb355e29d
@ -490,6 +490,8 @@ meta_kms_connector_update_state (MetaKmsConnector *connector,
|
|||||||
meta_kms_connector_read_state (connector, impl_device,
|
meta_kms_connector_read_state (connector, impl_device,
|
||||||
drm_connector,
|
drm_connector,
|
||||||
drm_resources);
|
drm_resources);
|
||||||
|
if (drm_connector)
|
||||||
|
drmModeFreeConnector (drm_connector);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user