validate-scenario: Don't leak temporary path value

It's only use in the structure iterator

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3319>
This commit is contained in:
Edward Hervey 2022-11-04 11:02:49 +01:00 committed by GStreamer Marge Bot
parent 2114490b9b
commit 3beec9bad3

View file

@ -5470,6 +5470,7 @@ _parse_scenario (GFile * f, GKeyFile * kf)
gst_structure_foreach (meta,
(GstStructureForeachFunc) _add_description, &kfg);
gst_structure_free (meta);
g_free (kfg.group_name);
} else {
g_key_file_set_string (kf, path, "noinfo", "nothing");
}