udp: don't use protocol in debug message after freeing
This commit is contained in:
parent
6e5f789fa0
commit
ba2c101963
@ -223,9 +223,9 @@ gst_udpsink_set_uri (GstUDPSink * sink, const gchar * uri)
|
||||
/* ERRORS */
|
||||
wrong_protocol:
|
||||
{
|
||||
g_free (protocol);
|
||||
GST_ELEMENT_ERROR (sink, RESOURCE, READ, (NULL),
|
||||
("error parsing uri %s: wrong protocol (%s != udp)", uri, protocol));
|
||||
g_free (protocol);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
@ -645,9 +645,9 @@ gst_udpsrc_set_uri (GstUDPSrc * src, const gchar * uri)
|
||||
/* ERRORS */
|
||||
wrong_protocol:
|
||||
{
|
||||
g_free (protocol);
|
||||
GST_ELEMENT_ERROR (src, RESOURCE, READ, (NULL),
|
||||
("error parsing uri %s: wrong protocol (%s != udp)", uri, protocol));
|
||||
g_free (protocol);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user