From e8edecc56eb71d88a89a953489ba55a946a926ec Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 28 Nov 2013 16:50:42 +0100 Subject: [PATCH] rtpsession: don't unref buffer twice Cleaning the packet info will already unref the buffer. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=715078 --- gst/rtpmanager/rtpsession.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 4c199b696b..27e3d93bab 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -1833,7 +1833,6 @@ rtp_session_process_rtp (RTPSession * sess, GstBuffer * buffer, collision: { RTP_SESSION_UNLOCK (sess); - gst_buffer_unref (buffer); clean_packet_info (&pinfo); GST_DEBUG ("ignoring packet because its collisioning"); return GST_FLOW_OK;