mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
cea608mux: Fix buffer leak
Release buffer after use Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5648>
This commit is contained in:
parent
8db184085a
commit
75560329c1
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue