Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add: do not accept pathspec magic 'attr'
[gitweb.git]
/
builtin
/
checkout.c
diff --git
a/builtin/checkout.c
b/builtin/checkout.c
index 10751585ea38c282d439e4128c895c01a2598985..fc4f8fd2ea29c7c23d3b1c7ca0ba78824c255a91 100644
(file)
--- a/
builtin/checkout.c
+++ b/
builtin/checkout.c
@@
-1297,6
+1297,7
@@
int cmd_checkout(int argc, const char **argv, const char *prefix)
strbuf_release(&buf);
}
+ UNLEAK(opts);
if (opts.patch_mode || opts.pathspec.nr)
return checkout_paths(&opts, new.name);
else