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:
Krzesimir Nowak 2016-05-10 12:23:03 +02:00 committed by Colin Walters (automation)
parent 3ae87e3f9e
commit bdd73913fb

View File

@ -1913,8 +1913,6 @@ repo_remote_fetch_summary (OstreeRepo *self,
if (fetcher == NULL)
goto out;
base_uri = soup_uri_new (metalink_url_string);
{
g_autofree char *url_string = NULL;
if (metalink_url_string)