mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
kms/cursor-manager: Free struct in meta_kms_cursor_manager_impl_free()
The free function was not actually freeing anything, which was causing a
small leak.
Fixes: 6d873036e
("Add KMS cursor manager")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3188>
This commit is contained in:
parent
5fdb6a847f
commit
f57c239a26
@ -507,6 +507,8 @@ static void
|
||||
meta_kms_cursor_manager_impl_free (MetaKmsCursorManagerImpl *cursor_manager_impl)
|
||||
{
|
||||
g_warn_if_fail (!cursor_manager_impl->crtc_states);
|
||||
|
||||
g_free (cursor_manager_impl);
|
||||
}
|
||||
|
||||
static MetaKmsCursorManagerImpl *
|
||||
|
Loading…
Reference in New Issue
Block a user