edid: Ensure strings owned by MetaEdidInfo are freed

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3888>
This commit is contained in:
Sebastian Keller
2024-07-15 23:31:58 +02:00
parent a541aa9a8c
commit 31e027d1b1
5 changed files with 18 additions and 4 deletions

View File

@ -96,3 +96,8 @@ struct _MetaEdidInfo
META_EXPORT_TEST
MetaEdidInfo *meta_edid_info_new_parse (const uint8_t *edid,
size_t size);
META_EXPORT_TEST
void meta_edid_info_free (MetaEdidInfo *info);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MetaEdidInfo, meta_edid_info_free)