mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 04:45:47 +00:00
validate: media-descriptor-writer: fix string leaks
This commit is contained in:
parent
102c13ed6f
commit
2133207113
1 changed files with 2 additions and 0 deletions
|
@ -136,6 +136,8 @@ serialize_filenode (GstMediaDescriptorWriter * writer)
|
|||
|
||||
res = g_string_new (tmpstr);
|
||||
g_string_append_printf (res, " <streams caps=\"%s\">", caps_str);
|
||||
g_free (caps_str);
|
||||
g_free (tmpstr);
|
||||
for (tmp = filenode->streams; tmp; tmp = tmp->next) {
|
||||
GList *tmp3;
|
||||
StreamNode *snode = ((StreamNode *) tmp->data);
|
||||
|
|
Loading…
Reference in a new issue