Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jm/status-ignored-directory-optim'
[gitweb.git]
/
builtin
/
worktree.c
diff --git
a/builtin/worktree.c
b/builtin/worktree.c
index c98e2ce5f57c1f41ccaf90041a1a22233ae75551..de26849f5551a12aac16e4121c7024ebb40502d2 100644
(file)
--- a/
builtin/worktree.c
+++ b/
builtin/worktree.c
@@
-381,6
+381,8
@@
static int add(int ac, const char **av, const char *prefix)
branch = opts.new_branch;
}
+ UNLEAK(path);
+ UNLEAK(opts);
return add_worktree(path, branch, &opts);
}