gst/rtpmanager/gstrtpsession.c: Make sure to unref the rtpsession returned by gst_pad_get_parent() to prevent a memor...

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_query_send_rtcp_src):
Make sure to unref the rtpsession returned by gst_pad_get_parent() to
prevent a memory leak.
This commit is contained in:
Peter Kjellerstedt 2008-05-12 14:28:09 +00:00 committed by Tim-Philipp Müller
parent 95ab282083
commit fd8061784a

View file

@ -1528,6 +1528,9 @@ gst_rtp_session_query_send_rtcp_src (GstPad * pad, GstQuery * query)
/* other queries simply fail for now */
break;
}
gst_object_unref (rtpsession);
return ret;
}