mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
crtc: Don't leak MetaCrtcConfig
We never freed it except when CRTC disabled during runtime. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1095
This commit is contained in:
parent
ff59b5d041
commit
01aaced129
@ -63,6 +63,8 @@ meta_crtc_finalize (GObject *object)
|
||||
if (crtc->driver_notify)
|
||||
crtc->driver_notify (crtc);
|
||||
|
||||
g_clear_pointer (&crtc->config, g_free);
|
||||
|
||||
G_OBJECT_CLASS (meta_crtc_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user