mirror of
https://github.com/brl/mutter.git
synced 2025-03-13 06:45:03 +00:00
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:
parent
3e186aa5a7
commit
a9d9aee6c0
@ -850,7 +850,7 @@ meta_kms_impl_device_atomic_process_update (MetaKmsImplDevice *impl_device,
|
|||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
GList *failed_planes = NULL;
|
GList *failed_planes = NULL;
|
||||||
drmModeAtomicReq *req;
|
drmModeAtomicReq *req;
|
||||||
GArray *blob_ids;
|
g_autoptr (GArray) blob_ids = NULL;
|
||||||
int fd;
|
int fd;
|
||||||
uint32_t commit_flags = 0;
|
uint32_t commit_flags = 0;
|
||||||
int ret;
|
int ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user