From 36218938a2eff5afbffb890159180cc98a6e80e0 Mon Sep 17 00:00:00 2001 From: Zaheer Abbas Merali Date: Tue, 15 Jun 2004 21:25:36 +0000 Subject: [PATCH] gst-libs/gst/riff/riff-read.c: Added missing refcount, fixes bug #144425 Original commit message from CVS: 2004-06-15 Zaheer Abbas Merali * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head): Added missing refcount, fixes bug #144425 Cheers Tim for finding the bug --- ChangeLog | 6 ++++++ gst-libs/gst/riff/riff-read.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index f4a7886..46617f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-06-15 Zaheer Abbas Merali + + * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head): + Added missing refcount, fixes bug #144425 + Cheers Tim for finding the bug + 2004-06-15 Thomas Vander Stichele * sys/v4l/gstv4l.c: (plugin_init): diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c index abae803..6f5c5b2 100644 --- a/gst-libs/gst/riff/riff-read.c +++ b/gst-libs/gst/riff/riff-read.c @@ -180,6 +180,7 @@ gst_riff_peek_head (GstRiffRead * riff, /* Here, we might encounter EOS */ gst_bytestream_get_status (riff->bs, &remaining, &event); if (GST_IS_EVENT (event)) { + gst_event_ref (event); gst_pad_event_default (riff->sinkpad, event); if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) return FALSE; -- 2.7.4