mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 23:18:47 +00:00
fix memory leak
Original commit message from CVS: fix memory leak
This commit is contained in:
parent
c4fcc0b947
commit
c1051d5087
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ gst_bytestream_get_next_buf (GstByteStream * bs)
|
|||
bs->headbufavail += GST_BUFFER_SIZE (nextbuf);
|
||||
}
|
||||
|
||||
// we can ditch the nextbuf then
|
||||
gst_buffer_unref (lastbuf);
|
||||
gst_buffer_unref (nextbuf);
|
||||
|
||||
// if we can't, we just append this buffer
|
||||
|
|
Loading…
Reference in a new issue