mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
ext/libpng/gstpngdec.c: forgot the buffer unref in pull.
Original commit message from CVS: 2005-10-19 Julien MOUTTE <julien@moutte.net> * ext/libpng/gstpngdec.c: forgot the buffer unref in pull.
This commit is contained in:
parent
1d531d5b24
commit
6142c0c147
1 changed files with 2 additions and 0 deletions
|
@ -280,6 +280,8 @@ user_read_data (png_structp png_ptr, png_bytep data, png_size_t length)
|
||||||
|
|
||||||
memcpy (data, GST_BUFFER_DATA (buffer), GST_BUFFER_SIZE (buffer));
|
memcpy (data, GST_BUFFER_DATA (buffer), GST_BUFFER_SIZE (buffer));
|
||||||
|
|
||||||
|
gst_buffer_unref (buffer);
|
||||||
|
|
||||||
pngdec->offset += length;
|
pngdec->offset += length;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue