mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
wavparse: fix buffer leak with adtl tag
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3020 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5595>
This commit is contained in:
parent
47c56e3865
commit
808c27b4cc
1 changed files with 1 additions and 0 deletions
|
@ -1559,6 +1559,7 @@ gst_wavparse_stream_headers (GstWavParse * wav)
|
|||
gst_wavparse_adtl_chunk (wav, (const guint8 *) map.data,
|
||||
data_size);
|
||||
gst_buffer_unmap (buf, &map);
|
||||
gst_buffer_unref (buf);
|
||||
}
|
||||
wav->offset += GST_ROUND_UP_2 (data_size);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue