unref event instead of freeing it
authorWim Taymans <wim.taymans@gmail.com>
Mon, 8 Jul 2002 19:22:41 +0000 (19:22 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 8 Jul 2002 19:22:41 +0000 (19:22 +0000)
Original commit message from CVS:
unref event instead of freeing it

libs/gst/bytestream/bytestream.c

index e9e7b73..c03df2e 100644 (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) {