mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
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,
|
||||
drm_connector,
|
||||
drm_resources);
|
||||
if (drm_connector)
|
||||
drmModeFreeConnector (drm_connector);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user