From: <do...@fr...> - 2005-10-18 23:31:06
|
CVS Root: /cvs/gstreamer Module: gst-plugins-good Changes by: dolphy Date: Tue Oct 18 2005 15:50:23 PDT Log message: 2005-10-19 Julien MOUTTE <ju...@mo...> * ext/libpng/gstpngdec.c: forgot the buffer unref in pull. Modified files: ext/libpng : gstpngdec.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ext/libpng/gstpngdec.c.diff?r1=1.10&r2=1.11 ====Begin Diffs==== Index: gstpngdec.c =================================================================== RCS file: /cvs/gstreamer/gst-plugins-good/ext/libpng/gstpngdec.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- gstpngdec.c 18 Oct 2005 22:44:11 -0000 1.10 +++ gstpngdec.c 18 Oct 2005 22:50:11 -0000 1.11 @@ -280,6 +280,8 @@ memcpy (data, GST_BUFFER_DATA (buffer), GST_BUFFER_SIZE (buffer)); + gst_buffer_unref (buffer); + pngdec->offset += length; return; |