mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
kate: fix buffer leak in katetag
Makes unit test valgrind clean. https://bugzilla.gnome.org/show_bug.cgi?id=697071
This commit is contained in:
parent
8c7ed7ccea
commit
9056e775a9
1 changed files with 1 additions and 0 deletions
|
@ -281,6 +281,7 @@ gst_kate_tag_parse_packet (GstKateParse * parse, GstBuffer * buffer)
|
|||
|
||||
gst_buffer_unmap (buffer, &info);
|
||||
new_buffer = gst_buffer_copy (buffer);
|
||||
gst_buffer_unref (buffer);
|
||||
buffer = new_buffer;
|
||||
|
||||
if (!gst_buffer_map (buffer, &info, GST_MAP_READWRITE)) {
|
||||
|
|
Loading…
Reference in a new issue