Fix leak
This commit is contained in:
parent
44773f0ff0
commit
10c141e1c1
|
@ -655,6 +655,7 @@ void GstEnginePipeline::SourceSetupCallback(GstURIDecodeBin* bin, GParamSpec *ps
|
|||
GstStructure* headers;
|
||||
headers = gst_structure_new("extra-headers", "Range", G_TYPE_STRING, "bytes=0-", NULL);
|
||||
g_object_set(element, "extra-headers", headers, NULL);
|
||||
gst_structure_free(headers);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue