kms/impl-device-atomic: Fix blob_ids array leak

release_blob_ids() only destroys the DRM property blobs, but does not
free the array they were stored in.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1699>
This commit is contained in:
Sebastian Keller 2021-02-02 11:51:59 +01:00 committed by Marge Bot
parent 3e186aa5a7
commit a9d9aee6c0

View File

@ -850,7 +850,7 @@ meta_kms_impl_device_atomic_process_update (MetaKmsImplDevice *impl_device,
GError *error = NULL;
GList *failed_planes = NULL;
drmModeAtomicReq *req;
GArray *blob_ids;
g_autoptr (GArray) blob_ids = NULL;
int fd;
uint32_t commit_flags = 0;
int ret;