From: Laurent Glayal Date: Tue, 9 Oct 2007 10:01:39 +0000 (+0000) Subject: gst/rtpmanager/gstrtpbin.c: Fix memleak. Fixes #484990. X-Git-Tag: 1.19.3~507^2~20779 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d73a5f3250bca1e85028a74c8c35c081e1ef677f;p=platform%2Fupstream%2Fgstreamer.git gst/rtpmanager/gstrtpbin.c: Fix memleak. Fixes #484990. Original commit message from CVS: Patch by: Laurent Glayal * gst/rtpmanager/gstrtpbin.c: (create_stream), (gst_rtp_bin_class_init): Fix memleak. Fixes #484990. --- diff --git a/ChangeLog b/ChangeLog index 8d22a77..d343350 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-10-09 Wim Taymans + + Patch by: Laurent Glayal + + * gst/rtpmanager/gstrtpbin.c: (create_stream), + (gst_rtp_bin_class_init): + Fix memleak. Fixes #484990. + 2007-10-08 Jan Schmidt * gst/librfb/rfbbuffer.c: (rfb_buffer_new_and_alloc): diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index eddd137..034d652 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -912,6 +912,7 @@ create_stream (GstRtpBinSession * session, guint32 ssrc) templ = gst_static_pad_template_get (&rtpbin_sync_sink_template); stream->sync_pad = gst_pad_new_from_template (templ, padname); gst_object_unref (templ); + g_free (padname); gst_object_ref (stream->sync_pad); gst_object_sink (stream->sync_pad); gst_pad_set_element_private (stream->sync_pad, stream);