mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +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);
|
||||
|
||||
g_clear_pointer (&self->headers, gst_buffer_list_unref);
|
||||
gst_srt_object_close (self->srtobject);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue