From: Wim Taymans Date: Thu, 28 Nov 2013 15:50:42 +0000 (+0100) Subject: rtpsession: don't unref buffer twice X-Git-Tag: 1.3.1~539 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8edecc56eb71d88a89a953489ba55a946a926ec;p=platform%2Fupstream%2Fgst-plugins-good.git 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 --- diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 4c199b6..27e3d93 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;