This confuses gst_tracing as we shortcut the mini object reference
system.
https://bugzilla.gnome.org/show_bug.cgi?id=765958
if (eoh == NULL || eoh > eoa) {
GST_DEBUG ("Unable to parse the host part of the URI '%s'.",
orig_uri);
- _gst_uri_free (uri_obj);
+ gst_uri_unref (uri_obj);
return NULL;
}
reoh = eoh + 1;
if (uri[0] != ':' || strspn (uri + 1, "0123456789") != eoa - uri - 1) {
GST_DEBUG ("Unable to parse host/port part of the URI '%s'.",
orig_uri);
- _gst_uri_free (uri_obj);
+ gst_uri_unref (uri_obj);
return NULL;
}
/* otherwise treat port as unsigned decimal number */