Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  http.c: avoid freeing an uninitialized pointer
  • Loading branch information
Junio C Hamano committed Sep 14, 2009
2 parents 20f3490 + 4197ce3 commit 2b621c1
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
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2b621c1

Please sign in to comment.