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
parent f315cbd74e
commit 11ebf3a6aa
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2008-05-12 Peter Kjellerstedt <pkj@axis.com>
* 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.
2008-05-12 Jan Schmidt <Jan.Schmidt@sun.com>
* docs/plugins/gst-plugins-bad-plugins-sections.txt:

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;
}