From 19455200b17f400f14a29c9b49adadde2c9fd246 Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Tue, 8 Sep 2009 13:30:29 +0200 Subject: rtspsrc: fix memory leak In gst_rtspsrc_parse_digest_challenge(), rtspsrc does a g_strndup of the auth header items and then passes them to gst_rtsp_connection_set_auth_param() without freeing. Fixes #594133 --- gst/rtsp/gstrtspsrc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/rtsp') diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 050e1511..0490dc68 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -3489,6 +3489,7 @@ gst_rtspsrc_parse_digest_challenge (GstRTSPConnection * conn, value = NULL; gst_rtsp_connection_set_auth_param (conn, item, value); + g_free (item); } g_slist_free (list); -- cgit