mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
udp: don't use protocol in debug message after freeing
This commit is contained in:
parent
6e5f789fa0
commit
ba2c101963
2 changed files with 2 additions and 2 deletions
|
@ -223,9 +223,9 @@ gst_udpsink_set_uri (GstUDPSink * sink, const gchar * uri)
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
wrong_protocol:
|
wrong_protocol:
|
||||||
{
|
{
|
||||||
g_free (protocol);
|
|
||||||
GST_ELEMENT_ERROR (sink, RESOURCE, READ, (NULL),
|
GST_ELEMENT_ERROR (sink, RESOURCE, READ, (NULL),
|
||||||
("error parsing uri %s: wrong protocol (%s != udp)", uri, protocol));
|
("error parsing uri %s: wrong protocol (%s != udp)", uri, protocol));
|
||||||
|
g_free (protocol);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -645,9 +645,9 @@ gst_udpsrc_set_uri (GstUDPSrc * src, const gchar * uri)
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
wrong_protocol:
|
wrong_protocol:
|
||||||
{
|
{
|
||||||
g_free (protocol);
|
|
||||||
GST_ELEMENT_ERROR (src, RESOURCE, READ, (NULL),
|
GST_ELEMENT_ERROR (src, RESOURCE, READ, (NULL),
|
||||||
("error parsing uri %s: wrong protocol (%s != udp)", uri, protocol));
|
("error parsing uri %s: wrong protocol (%s != udp)", uri, protocol));
|
||||||
|
g_free (protocol);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue