Browse Source

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>
maint
Ingo Molnar 20 years ago committed by Junio C Hamano
parent
commit
36997b45ad
  1. 1
      checkout-cache.c

1
checkout-cache.c

@ -48,6 +48,7 @@ static void create_directories(const char *path) @@ -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…
Cancel
Save