mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
gst/rtpmanager/gstrtpbin.c: Fix small memory leak, leaking caps. Fixes #bug 517571.
Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtpmanager/gstrtpbin.c: (new_ssrc_pad_found): Fix small memory leak, leaking caps. Fixes #bug 517571.
This commit is contained in:
parent
a301c9a22b
commit
db8bdc8b92
1 changed files with 2 additions and 0 deletions
|
@ -1748,6 +1748,8 @@ new_ssrc_pad_found (GstElement * element, guint ssrc, GstPad * pad,
|
|||
stream->clock_base = val;
|
||||
else
|
||||
stream->clock_base = -1;
|
||||
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
|
||||
/* get pad and link */
|
||||
|
|
Loading…
Reference in a new issue