提交 2b621c1a 编写于 作者: J Junio C Hamano

Merge branch 'maint'

* maint:
  http.c: avoid freeing an uninitialized pointer
......@@ -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)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册