summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2016-11-28 16:51:23 +0100
committerEdward Hervey <bilboed@bilboed.com>2016-11-28 16:51:23 +0100
commitfb4856c839988689af176bce5481d66ae7d8574a (patch)
tree20e04e0869c7f70d11f01e0d4cb99f52b51cda8f
parent010b9547d3832a5c3d71f73726f149b3b023882d (diff)
rtsp: Don't leak authorization string
-rw-r--r--gst-libs/gst/rtsp/gstrtspmessage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/rtsp/gstrtspmessage.c b/gst-libs/gst/rtsp/gstrtspmessage.c
index 523ddd5c1..a11e12073 100644
--- a/gst-libs/gst/rtsp/gstrtspmessage.c
+++ b/gst-libs/gst/rtsp/gstrtspmessage.c
@@ -1232,6 +1232,8 @@ gst_rtsp_auth_credentials_free (GstRTSPAuthCredential ** credentials)
}
g_free ((*p)->params);
}
+ if ((*p)->authorization)
+ g_free ((*p)->authorization);
g_free (*p);
p++;
}