Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin-clone.c: Need to closedir() in copy_or_link_directory()
[gitweb.git]
/
builtin-clone.c
diff --git
a/builtin-clone.c
b/builtin-clone.c
index 8713128e72da5681104434f944defb7f373db7e8..8936a51810fb4d1886187bc00507edc0287198f4 100644
(file)
--- a/
builtin-clone.c
+++ b/
builtin-clone.c
@@
-215,6
+215,7
@@
static void copy_or_link_directory(char *src, char *dest)
die("failed to create link %s\n", dest);
}
}
+ closedir(dir);
}
static const struct ref *clone_local(const char *src_repo,