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:
Ingo Molnar 2005-04-14 08:26:38 +02:00 committed by Junio C Hamano
parent 383f85b72a
commit 36997b45ad

View file

@ -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)