diff --git a/src/backends/meta-crtc.c b/src/backends/meta-crtc.c index 7ca31ba39..85424c575 100644 --- a/src/backends/meta-crtc.c +++ b/src/backends/meta-crtc.c @@ -63,6 +63,8 @@ meta_crtc_mode_finalize (GObject *object) if (crtc_mode->driver_notify) crtc_mode->driver_notify (crtc_mode); + g_clear_pointer (&crtc_mode->name, g_free); + G_OBJECT_CLASS (meta_crtc_mode_parent_class)->finalize (object); }