summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 383f85b)
raw | patch | inline | side by side (parent: 383f85b)
author | Ingo Molnar <mingo@elte.hu> | |
Thu, 14 Apr 2005 06:26:38 +0000 (08:26 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 7 May 2005 08:32:24 +0000 (01:32 -0700) |
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>
[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>
checkout-cache.c | patch | blob | history |
diff --git a/checkout-cache.c b/checkout-cache.c
index 244ebd122601883e15e8aefea33c7daf8249d862..64ce92147fdf200798be2578ddb051f9115a7ba5 100644 (file)
--- a/checkout-cache.c
+++ b/checkout-cache.c
buf[len] = 0;
mkdir(buf, 0755);
}
+ free(buf);
}
static int create_file(const char *path, unsigned int mode)