mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
kms/impl-device: Fix result listener list leak
queue_result_feedback() takes ownership of the result listeners list via meta_kms_update_take_result_listeners(), but does not free it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2922>
This commit is contained in:
parent
a958417e95
commit
7fbef2cb6e
@ -1008,7 +1008,7 @@ queue_result_feedback (MetaKmsImplDevice *impl_device,
|
||||
MetaKmsImplDevicePrivate *priv =
|
||||
meta_kms_impl_device_get_instance_private (impl_device);
|
||||
MetaKms *kms = meta_kms_device_get_kms (priv->device);
|
||||
GList *result_listeners;
|
||||
g_autoptr (GList) result_listeners = NULL;
|
||||
GList *l;
|
||||
|
||||
result_listeners = meta_kms_update_take_result_listeners (update);
|
||||
|
Loading…
Reference in New Issue
Block a user