summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Conchillo FlaquƩ <aleix@oblong.com>2014-11-19 15:06:00 -0800
committerWim Taymans <wtaymans@redhat.com>2014-11-20 09:15:56 +0100
commit00ca83629bf39b92d181c0af80de1a3eb591e16c (patch)
tree31f3d333e707f3f4a84efccdc39596cee74f0b3f
parente95da8410f315b52c049137a528a957b20776631 (diff)
rtspsrc: fix leak for mikey base64 decoded key-mgmt
https://bugzilla.gnome.org/show_bug.cgi?id=740392
-rw-r--r--gst/rtsp/gstrtspsrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 328a5f3df..fb3f10765 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -1727,6 +1727,7 @@ parse_keymgmt (const gchar * keymgmt, GstCaps * caps)
return FALSE;
msg = gst_mikey_message_new_from_data (data, size, NULL, NULL);
+ g_free (data);
if (msg == NULL)
return FALSE;