diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst/rtpmanager/gstrtpsession.c | 3 |
2 files changed, 10 insertions, 0 deletions
@@ -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: diff --git a/gst/rtpmanager/gstrtpsession.c b/gst/rtpmanager/gstrtpsession.c index 49a54fec..2afbf802 100644 --- a/gst/rtpmanager/gstrtpsession.c +++ b/gst/rtpmanager/gstrtpsession.c @@ -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; } |