mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
uri: unref instead of using _gst_uri_free() directly
This confuses gst_tracing as we shortcut the mini object reference system. https://bugzilla.gnome.org/show_bug.cgi?id=765958
This commit is contained in:
parent
8af52df23b
commit
0ff10ac3ca
1 changed files with 2 additions and 2 deletions
|
@ -1556,7 +1556,7 @@ gst_uri_from_string (const gchar * uri)
|
||||||
if (eoh == NULL || eoh > eoa) {
|
if (eoh == NULL || eoh > eoa) {
|
||||||
GST_DEBUG ("Unable to parse the host part of the URI '%s'.",
|
GST_DEBUG ("Unable to parse the host part of the URI '%s'.",
|
||||||
orig_uri);
|
orig_uri);
|
||||||
_gst_uri_free (uri_obj);
|
gst_uri_unref (uri_obj);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
reoh = eoh + 1;
|
reoh = eoh + 1;
|
||||||
|
@ -1576,7 +1576,7 @@ gst_uri_from_string (const gchar * uri)
|
||||||
if (uri[0] != ':' || strspn (uri + 1, "0123456789") != eoa - uri - 1) {
|
if (uri[0] != ':' || strspn (uri + 1, "0123456789") != eoa - uri - 1) {
|
||||||
GST_DEBUG ("Unable to parse host/port part of the URI '%s'.",
|
GST_DEBUG ("Unable to parse host/port part of the URI '%s'.",
|
||||||
orig_uri);
|
orig_uri);
|
||||||
_gst_uri_free (uri_obj);
|
gst_uri_unref (uri_obj);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
/* otherwise treat port as unsigned decimal number */
|
/* otherwise treat port as unsigned decimal number */
|
||||||
|
|
Loading…
Reference in a new issue