mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
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:
parent
2114490b9b
commit
3beec9bad3
1 changed files with 1 additions and 0 deletions
|
@ -5470,6 +5470,7 @@ _parse_scenario (GFile * f, GKeyFile * kf)
|
||||||
gst_structure_foreach (meta,
|
gst_structure_foreach (meta,
|
||||||
(GstStructureForeachFunc) _add_description, &kfg);
|
(GstStructureForeachFunc) _add_description, &kfg);
|
||||||
gst_structure_free (meta);
|
gst_structure_free (meta);
|
||||||
|
g_free (kfg.group_name);
|
||||||
} else {
|
} else {
|
||||||
g_key_file_set_string (kf, path, "noinfo", "nothing");
|
g_key_file_set_string (kf, path, "noinfo", "nothing");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue