diff --git a/validate/gst/validate/media-descriptor-writer.c b/validate/gst/validate/media-descriptor-writer.c index c903dc82c8..3f29f807cd 100644 --- a/validate/gst/validate/media-descriptor-writer.c +++ b/validate/gst/validate/media-descriptor-writer.c @@ -136,6 +136,8 @@ serialize_filenode (GstMediaDescriptorWriter * writer) res = g_string_new (tmpstr); g_string_append_printf (res, " ", caps_str); + g_free (caps_str); + g_free (tmpstr); for (tmp = filenode->streams; tmp; tmp = tmp->next) { GList *tmp3; StreamNode *snode = ((StreamNode *) tmp->data);