projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
383f85b
)
Date: Thu Apr 14 08:26:38 2005 +0200
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>
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
@@
-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)