unref event instead of freeing it

Original commit message from CVS:
unref event instead of freeing it
This commit is contained in:
Wim Taymans 2002-07-08 19:22:41 +00:00
parent fcb10a6c85
commit 88d5690b24

View file

@ -69,7 +69,7 @@ gst_bytestream_destroy (GstByteStream * bs)
GSList *walk;
if (bs->event)
gst_event_free (bs->event);
gst_event_unref (bs->event);
walk = bs->buflist;
while (walk) {