Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/fsck-tag-validation' into HEAD
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index bbd169ceb49b2e09197e469aeb572e9aa54d4b85..dd4092b0509eb9f284118c001d8451a633f9ef7c 100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-1004,5
+1004,7
@@
int cmd_clone(int argc, const char **argv, const char *prefix)
strbuf_release(&key);
strbuf_release(&value);
junk_mode = JUNK_LEAVE_ALL;
+
+ free(refspec);
return err;
}