提交 36997b45 编写于 作者: I Ingo Molnar 提交者: Junio C Hamano

Date: Thu Apr 14 08:26:38 2005 +0200

Author: Ingo Molnar <mingo@elte.hu>
    
[patch] git: fix memory leak in checkout-cache.c

this patch fixes a memory leak in checkout-cache.
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NPetr Baudis <pasky@ucw.cz>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 383f85b7
......@@ -48,6 +48,7 @@ static void create_directories(const char *path)
buf[len] = 0;
mkdir(buf, 0755);
}
free(buf);
}
static int create_file(const char *path, unsigned int mode)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册