mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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:
parent
f315cbd74e
commit
11ebf3a6aa
2 changed files with 10 additions and 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>
|
2008-05-12 Jan Schmidt <Jan.Schmidt@sun.com>
|
||||||
|
|
||||||
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
|
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
|
||||||
|
|
|
@ -1528,6 +1528,9 @@ gst_rtp_session_query_send_rtcp_src (GstPad * pad, GstQuery * query)
|
||||||
/* other queries simply fail for now */
|
/* other queries simply fail for now */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_object_unref (rtpsession);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue