mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/rtpmanager/gstrtpbin.c: Fix memleak. Fixes #484990.
Original commit message from CVS: Patch by: Laurent Glayal <spglegle at yahoo dot fr> * gst/rtpmanager/gstrtpbin.c: (create_stream), (gst_rtp_bin_class_init): Fix memleak. Fixes #484990.
This commit is contained in:
parent
1fe4050c0a
commit
d73a5f3250
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2007-10-09 Wim Taymans <wim.taymans@gmail.com>
|
||||||
|
|
||||||
|
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
|
||||||
|
|
||||||
|
* gst/rtpmanager/gstrtpbin.c: (create_stream),
|
||||||
|
(gst_rtp_bin_class_init):
|
||||||
|
Fix memleak. Fixes #484990.
|
||||||
|
|
||||||
2007-10-08 Jan Schmidt <Jan.Schmidt@sun.com>
|
2007-10-08 Jan Schmidt <Jan.Schmidt@sun.com>
|
||||||
|
|
||||||
* gst/librfb/rfbbuffer.c: (rfb_buffer_new_and_alloc):
|
* gst/librfb/rfbbuffer.c: (rfb_buffer_new_and_alloc):
|
||||||
|
|
|
@ -912,6 +912,7 @@ create_stream (GstRtpBinSession * session, guint32 ssrc)
|
||||||
templ = gst_static_pad_template_get (&rtpbin_sync_sink_template);
|
templ = gst_static_pad_template_get (&rtpbin_sync_sink_template);
|
||||||
stream->sync_pad = gst_pad_new_from_template (templ, padname);
|
stream->sync_pad = gst_pad_new_from_template (templ, padname);
|
||||||
gst_object_unref (templ);
|
gst_object_unref (templ);
|
||||||
|
g_free (padname);
|
||||||
gst_object_ref (stream->sync_pad);
|
gst_object_ref (stream->sync_pad);
|
||||||
gst_object_sink (stream->sync_pad);
|
gst_object_sink (stream->sync_pad);
|
||||||
gst_pad_set_element_private (stream->sync_pad, stream);
|
gst_pad_set_element_private (stream->sync_pad, stream);
|
||||||
|
|
Loading…
Reference in a new issue