mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
This commit is contained in:
parent
8f3299c547
commit
19455200b1
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue