From 5394269c910fb71a01ff9e8f839a79949b15b804 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 13 Apr 2020 18:18:45 +0300 Subject: [PATCH] mpegtsmux: Chain up pad dispose function to the one of the parent class Otherwise we will leak various memory. --- gst/mpegtsmux/gstbasetsmux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/mpegtsmux/gstbasetsmux.c b/gst/mpegtsmux/gstbasetsmux.c index 049fb10..d40d5a6 100644 --- a/gst/mpegtsmux/gstbasetsmux.c +++ b/gst/mpegtsmux/gstbasetsmux.c @@ -166,6 +166,8 @@ gst_base_ts_mux_pad_dispose (GObject * obj) GstBaseTsMuxPad *ts_pad = GST_BASE_TS_MUX_PAD (obj); gst_base_ts_mux_pad_reset (ts_pad); + + G_OBJECT_CLASS (gst_base_ts_mux_pad_parent_class)->dispose (obj); } static void -- 2.7.4