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

@ -65,7 +65,7 @@ int
main (int argc,
char **argv)
{
MetaEdidInfo *edid_info;
g_autoptr (MetaEdidInfo) edid_info = NULL;
edid_info = meta_edid_info_new_parse (edid_blob,edid_blob_len);
g_assert_nonnull (edid_info);