summaryrefslogtreecommitdiff
path: root/gst/rtsp
diff options
context:
space:
mode:
authorAleix Conchillo Flaqué <aleix@oblong.com>2014-10-30 15:37:36 -0700
committerTim-Philipp Müller <tim@centricular.com>2014-10-31 10:03:47 +0000
commitd15ebcbf627dd57eb331da50873850c1175ad9cc (patch)
tree1a14b429ab571fc80698859cf39e5171408207ec /gst/rtsp
parentca9528d0b0b62f32e42136647a097fbb80f96e3d (diff)
rtspsrc: mikey related memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=739430
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/gstrtspsrc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 10b9bc9d2..328a5f3df 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -3089,6 +3089,7 @@ request_rtcp_encoder (GstElement * rtpbin, guint session,
g_value_unset (&rtcp_cipher);
g_value_unset (&rtcp_auth);
+ gst_buffer_unref (buf);
}
}
name = g_strdup_printf ("rtcp_sink_%d", session);
@@ -5958,6 +5959,8 @@ default_srtcp_params (void)
"srtcp-cipher", G_TYPE_STRING, "aes-128-icm",
"srtcp-auth", G_TYPE_STRING, "hmac-sha1-80", NULL);
+ gst_buffer_unref (buf);
+
return caps;
}