From 00ca83629bf39b92d181c0af80de1a3eb591e16c Mon Sep 17 00:00:00 2001 From: Aleix Conchillo FlaquƩ Date: Wed, 19 Nov 2014 15:06:00 -0800 Subject: rtspsrc: fix leak for mikey base64 decoded key-mgmt https://bugzilla.gnome.org/show_bug.cgi?id=740392 --- gst/rtsp/gstrtspsrc.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3