Skip to content

Commit

Permalink
Merge branch 'rc/maint-http-no-head-pack-check' into maint
Browse files Browse the repository at this point in the history
* rc/maint-http-no-head-pack-check:
  http.c: avoid freeing an uninitialized pointer
  • Loading branch information
Junio C Hamano committed Sep 14, 2009
2 parents 7fb6bcf + b202514 commit 4197ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.c
Original file line number Diff line number Diff line change
@@ -866,7 +866,7 @@ static int fetch_pack_index(unsigned char *sha1, const char *base_url)
int ret = 0;
char *hex = xstrdup(sha1_to_hex(sha1));
char *filename;
char *url;
char *url = NULL;
struct strbuf buf = STRBUF_INIT;

if (has_pack_index(sha1)) {

0 comments on commit 4197ce3

Please sign in to comment.