mirror of
https://github.com/git/git.git
synced 2024-11-28 20:44:04 +08:00
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: Ingo Molnar <mingo@elte.hu> Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
383f85b72a
commit
36997b45ad
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user