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 authored and Colin Walters (automation) committed 2016-05-10 13:47:36 +00:00
1 parent 3ae87e3f9e
commit bdd73913fb
1 file changed
-2
-2
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)