unref events

Original commit message from CVS:
unref events
This commit is contained in:
Wim Taymans 2002-07-08 19:44:28 +00:00
parent 8a4b3564b5
commit c171c41417

View file

@ -498,7 +498,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf)
return; return;
case GST_EVENT_NEW_MEDIA: case GST_EVENT_NEW_MEDIA:
g_print ("new media\n"); g_print ("new media\n");
return; break;
case GST_EVENT_DISCONTINUOUS: case GST_EVENT_DISCONTINUOUS:
{ {
gint64 value; gint64 value;
@ -516,7 +516,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf)
gst_pad_event_default (pad, event); gst_pad_event_default (pad, event);
return; return;
} }
gst_event_free (event); gst_event_unref (event);
return; return;
} }