fix memory leak

Original commit message from CVS:
fix memory leak
This commit is contained in:
Joshua N. Pritikin 2001-09-23 00:00:19 +00:00
parent c4fcc0b947
commit c1051d5087

View file

@ -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