From 75560329c132c0cc50e9bd1adc52df21275385bb Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 13 Nov 2023 22:16:06 +0900 Subject: [PATCH] cea608mux: Fix buffer leak Release buffer after use Part-of: --- subprojects/gst-plugins-bad/ext/closedcaption/gstcea608mux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/ext/closedcaption/gstcea608mux.c b/subprojects/gst-plugins-bad/ext/closedcaption/gstcea608mux.c index 0249f4f301..1f5a3133a8 100644 --- a/subprojects/gst-plugins-bad/ext/closedcaption/gstcea608mux.c +++ b/subprojects/gst-plugins-bad/ext/closedcaption/gstcea608mux.c @@ -295,6 +295,7 @@ gst_cea608_mux_aggregate (GstAggregator * aggregator, gboolean timeout) } gst_buffer_unmap (buffer, &map); + gst_buffer_unref (buffer); } else { /* We got flushed */ flow_ret = GST_AGGREGATOR_FLOW_NEED_DATA;