Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
branch: split validate_new_branchname() into two
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index 06d822aad2b480458263813beeecca028983a306..e25f725c0feaa57c9a09c976628217c99dfb5652 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-888,7
+888,7
@@
static void receive_needs(void)
}
shallow_nr += shallows.nr;
-
free(shallows.object
s);
+
object_array_clear(&shallow
s);
}
/* return non-zero if the ref is hidden, otherwise 0 */