mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Don't free rtpinfo GString when it is NULL
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723554
This commit is contained in:
parent
450b9d0a14
commit
271f533098
1 changed files with 2 additions and 1 deletions
|
@ -337,7 +337,8 @@ not_prepared:
|
|||
stream_rtpinfo_missing:
|
||||
{
|
||||
g_mutex_unlock (&priv->lock);
|
||||
g_string_free (rtpinfo, TRUE);
|
||||
if (rtpinfo)
|
||||
g_string_free (rtpinfo, TRUE);
|
||||
GST_ERROR_OBJECT (media, "could not get stream %d rtpinfo", i);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue