Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ap/git-svn-propset-doc'
[gitweb.git]
/
archive.c
diff --git
a/archive.c
b/archive.c
index 5d735ae6039f0d9708d61a27a490953ff27badf5..42df9748d668744c213e8eba0ae4b710829e1cfe 100644
(file)
--- a/
archive.c
+++ b/
archive.c
@@
-322,7
+322,7
@@
static int path_exists(struct tree *tree, const char *path)
pathspec.recursive = 1;
ret = read_tree_recursive(tree, "", 0, 0, &pathspec,
reject_entry, &pathspec);
-
free
_pathspec(&pathspec);
+
clear
_pathspec(&pathspec);
return ret != 0;
}