--- gst-plugins-good-0.10.2.1-clean/gst/apetag/gsttagdemux.c	2006-03-24 11:11:36.000000000 +0000
+++ gst-plugins-good-0.10.2.1/gst/apetag/gsttagdemux.c	2006-03-24 11:12:50.000000000 +0000
@@ -552,7 +552,6 @@
 
       /* Trim the buffer and adjust offset for typefinding */
       typefind_buf = demux->priv->collect;
-      gst_buffer_ref (typefind_buf);
       if (!gst_tag_demux_trim_buffer (demux, &typefind_buf))
         return GST_FLOW_ERROR;
 
--- gst-plugins-good-0.10.2.1-clean/gst/autodetect/gstautoaudiosink.c	2006-03-24 11:11:36.000000000 +0000
+++ gst-plugins-good-0.10.2.1/gst/autodetect/gstautoaudiosink.c	2006-03-24 11:18:40.000000000 +0000
@@ -239,7 +239,6 @@
     if (errors) {
       /* FIXME: we forward the first error for now; but later on it might make
        * sense to actually analyse them */
-      gst_message_ref (GST_MESSAGE (errors->data));
       GST_DEBUG_OBJECT (sink, "reposting message %p", errors->data);
       gst_element_post_message (GST_ELEMENT (sink), GST_MESSAGE (errors->data));
     } else {
--- gst-plugins-good-0.10.2.1-clean/gst/avi/gstavidemux.c	2006-03-24 11:11:36.000000000 +0000
+++ gst-plugins-good-0.10.2.1/gst/avi/gstavidemux.c	2006-03-24 11:25:39.000000000 +0000
@@ -2014,7 +2014,6 @@
   for (i = 0; i < avi->num_streams; i++) {
     avi_stream_context *stream = &avi->stream[i];
 
-    gst_event_ref (event);
     gst_pad_push_event (stream->pad, event);
   }
   gst_event_unref (event);
--- gst-plugins-good-0.10.2.1-clean/gst/id3demux/gstid3demux.c	2006-03-24 11:11:36.000000000 +0000
+++ gst-plugins-good-0.10.2.1/gst/id3demux/gstid3demux.c	2006-03-24 11:29:46.000000000 +0000
@@ -442,7 +442,6 @@
 
       /* Trim the buffer and adjust offset for typefinding */
       typefind_buf = id3demux->collect;
-      gst_buffer_ref (typefind_buf);
       if (!gst_id3demux_trim_buffer (id3demux, &typefind_buf))
         return GST_FLOW_ERROR;
 
--- gst-plugins-good-0.10.2.1-clean/gst/matroska/matroska-demux.c	2006-03-24 11:11:36.000000000 +0000
+++ gst-plugins-good-0.10.2.1/gst/matroska/matroska-demux.c	2006-03-24 11:33:49.000000000 +0000
@@ -1026,7 +1026,6 @@
     GstMatroskaTrackContext *stream;
 
     stream = demux->src[i];
-    gst_event_ref (event);
     gst_pad_push_event (stream->pad, event);
   }
   gst_event_unref (event);
--- gst-plugins-good-0.10.2.1-clean/gst/rtp/gstrtpmp4vdepay.c	2006-03-24 11:11:36.000000000 +0000
+++ gst-plugins-good-0.10.2.1/gst/rtp/gstrtpmp4vdepay.c	2006-03-24 11:40:35.000000000 +0000
@@ -156,7 +156,6 @@
       GstBuffer *buffer;
 
       buffer = gst_value_get_buffer (&v);
-      gst_buffer_ref (buffer);
       g_value_unset (&v);
 
       gst_buffer_set_caps (buffer, srccaps);
--- gst-plugins-good-0.10.2.1-clean/gst/smpte/gstsmpte.c	2006-03-24 11:11:36.000000000 +0000
+++ gst-plugins-good-0.10.2.1/gst/smpte/gstsmpte.c	2006-03-24 11:43:37.000000000 +0000
@@ -396,7 +396,6 @@
 
   } else {
     outbuf = in2;
-    gst_buffer_ref (in2);
   }
 
   smpte->position++;
--- gst-plugins-good-0.10.2.1-clean/ext/flac/gstflacdec.c	2006-03-24 11:11:36.000000000 +0000
+++ gst-plugins-good-0.10.2.1/ext/flac/gstflacdec.c	2006-03-24 11:49:55.000000000 +0000
@@ -1006,7 +1006,6 @@
     case GST_EVENT_SEEK:{
       /* first, see if we're before a demuxer that
        * might handle the seek for us */
-      gst_event_ref (event);
       res = gst_pad_event_default (pad, event);
       /* if not, try to handle it ourselves */
       if (!res) {
--- gst-plugins-good-0.10.2.1-clean/ext/dv/gstdvdemux.c	2006-03-24 11:11:36.000000000 +0000
+++ gst-plugins-good-0.10.2.1/ext/dv/gstdvdemux.c	2006-03-24 11:55:45.000000000 +0000
@@ -674,7 +674,6 @@
   gboolean res = FALSE;
 
   if (dvdemux->videosrcpad) {
-    gst_event_ref (event);
     res |= gst_pad_push_event (dvdemux->videosrcpad, event);
   }
 
