From: Wim T. <wt...@us...> - 2001-12-24 15:04:55
|
Update of /cvsroot/gstreamer/gst-plugins/ext/mad In directory usw-pr-cvs1:/tmp/cvs-serv1196 Modified Files: gstmad.c Log Message: Fix a buffer leak Index: gstmad.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/ext/mad/gstmad.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- gstmad.c 2001/12/23 02:59:22 1.5 +++ gstmad.c 2001/12/24 15:04:51 1.6 @@ -344,6 +344,8 @@ } if (GST_PAD_CONNECTED (mad->srcpad)) gst_pad_push (mad->srcpad, buffer); + else + gst_buffer_unref (buffer); return MAD_FLOW_CONTINUE; } |