From c171c4141792de352a616100c6440af82be89a7b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 8 Jul 2002 19:44:28 +0000 Subject: unref events Original commit message from CVS: unref events --- sys/oss/gstosssink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c index f2055fcc..69ef884b 100644 --- a/sys/oss/gstosssink.c +++ b/sys/oss/gstosssink.c @@ -498,7 +498,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf) return; case GST_EVENT_NEW_MEDIA: g_print ("new media\n"); - return; + break; case GST_EVENT_DISCONTINUOUS: { gint64 value; @@ -516,7 +516,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf) gst_pad_event_default (pad, event); return; } - gst_event_free (event); + gst_event_unref (event); return; } -- cgit