kms-device: Free path when finalizing

free path in finalize

https://gitlab.gnome.org/GNOME/mutter/merge_requests/775
This commit is contained in:
Michal Lazo 2019-09-16 16:41:46 +00:00 committed by Jonas Ådahl
parent d13cea6ccb
commit 4d0869e206

View File

@ -267,6 +267,7 @@ meta_kms_device_finalize (GObject *object)
MetaBackendNative *backend_native = META_BACKEND_NATIVE (backend);
MetaLauncher *launcher = meta_backend_native_get_launcher (backend_native);
g_free (device->path);
g_list_free (device->crtcs);
g_list_free (device->connectors);
g_list_free (device->planes);