mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
srt: Plug leak of headers
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1040>
This commit is contained in:
parent
49af6a831d
commit
df403df2ca
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ gst_srt_sink_stop (GstBaseSink * bsink)
|
||||||
{
|
{
|
||||||
GstSRTSink *self = GST_SRT_SINK (bsink);
|
GstSRTSink *self = GST_SRT_SINK (bsink);
|
||||||
|
|
||||||
|
g_clear_pointer (&self->headers, gst_buffer_list_unref);
|
||||||
gst_srt_object_close (self->srtobject);
|
gst_srt_object_close (self->srtobject);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue