bugfix: don't unref event twice
authorBenjamin Otte <otte@gnome.org>
Thu, 27 Mar 2003 03:16:31 +0000 (03:16 +0000)
committerBenjamin Otte <otte@gnome.org>
Thu, 27 Mar 2003 03:16:31 +0000 (03:16 +0000)
Original commit message from CVS:
bugfix: don't unref event twice

ext/alsa/gstalsa.c

index 0aeca99dc3f48e7b36bab879fab24170fa062d8a..5446ba2be4ef722d47dd4a13459466f7426e3ada 100644 (file)
@@ -1168,7 +1168,6 @@ sink_restart:
         pad->buf = gst_pad_pull (pad->pad);
         if (GST_IS_EVENT (pad->buf)) {
          gboolean cont = gst_alsa_sink_check_event (this, i, GST_EVENT (pad->buf));
-         gst_data_unref (GST_DATA (pad->buf));
          pad->buf = NULL;
          if (cont)
            continue;