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
@ -3489,6 +3489,7 @@ gst_rtspsrc_parse_digest_challenge (GstRTSPConnection * conn,
|
|||||||
value = NULL;
|
value = NULL;
|
||||||
|
|
||||||
gst_rtsp_connection_set_auth_param (conn, item, value);
|
gst_rtsp_connection_set_auth_param (conn, item, value);
|
||||||
|
g_free (item);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_slist_free (list);
|
g_slist_free (list);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user