repo: Plug a leak
The base URI created in this line was always (sans erroneous situations) overwritten in the code block below without freeing it previously, so it leaked. Closes: #290 Approved by: cgwalters
This commit is contained in:
parent
3ae87e3f9e
commit
bdd73913fb
|
|
@ -1913,8 +1913,6 @@ repo_remote_fetch_summary (OstreeRepo *self,
|
||||||
if (fetcher == NULL)
|
if (fetcher == NULL)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
base_uri = soup_uri_new (metalink_url_string);
|
|
||||||
|
|
||||||
{
|
{
|
||||||
g_autofree char *url_string = NULL;
|
g_autofree char *url_string = NULL;
|
||||||
if (metalink_url_string)
|
if (metalink_url_string)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue