diff options
author | Laurent Glayal <spglegle@yahoo.fr> | 2007-10-09 10:01:39 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-10-09 10:01:39 +0000 |
commit | d73a5f3250bca1e85028a74c8c35c081e1ef677f (patch) | |
tree | 5251dd4d5016c467dd4b86485e6a7d9579d5f7e8 /gst/rtpmanager | |
parent | 1fe4050c0a299016b82bfdb70dd46d414a53a082 (diff) | |
download | gst-plugins-bad-d73a5f3250bca1e85028a74c8c35c081e1ef677f.tar.gz gst-plugins-bad-d73a5f3250bca1e85028a74c8c35c081e1ef677f.tar.bz2 gst-plugins-bad-d73a5f3250bca1e85028a74c8c35c081e1ef677f.zip |
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.
Diffstat (limited to 'gst/rtpmanager')
-rw-r--r-- | gst/rtpmanager/gstrtpbin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index eddd137c..034d652b 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); |