aboutsummaryrefslogtreecommitdiff
path: root/builtin-http-fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-http-fetch.c')
-rw-r--r--builtin-http-fetch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin-http-fetch.c b/builtin-http-fetch.c
index 7f450c61d..299093ff9 100644
--- a/builtin-http-fetch.c
+++ b/builtin-http-fetch.c
@@ -80,8 +80,7 @@ int cmd_http_fetch(int argc, const char **argv, const char *prefix)
walker_free(walker);
- if (rewritten_url)
- free(rewritten_url);
+ free(rewritten_url);
return rc;
}