mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
rtspreal: Fix some memory leaks in an error path
CID 1212165.
This commit is contained in:
parent
a665347345
commit
9953165336
1 changed files with 4 additions and 0 deletions
|
@ -595,6 +595,10 @@ rtsp_ext_real_parse_sdp (GstRTSPExtension * ext, GstSDPMessage * sdp,
|
|||
/* ERRORS */
|
||||
strange_opaque_data:
|
||||
{
|
||||
g_string_free (rules, TRUE);
|
||||
g_hash_table_destroy (vars);
|
||||
g_free (data);
|
||||
|
||||
GST_ELEMENT_ERROR (ctx, RESOURCE, WRITE, ("Strange opaque data."), (NULL));
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue