diff options
author | Arnout Vandecappelle <arnout@mind.be> | 2009-09-08 13:30:29 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-09-08 13:30:29 +0200 |
commit | 19455200b17f400f14a29c9b49adadde2c9fd246 (patch) | |
tree | c9b5cc5167ed66b1656e7bc15cb1711840e81617 /gst | |
parent | 8f3299c5474530d0a0b353160816d5b841b5d7cb (diff) |
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
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |