diff options
Diffstat (limited to 'src/worktree.c')
-rw-r--r-- | src/worktree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worktree.c b/src/worktree.c index f224b2333..ede155b69 100644 --- a/src/worktree.c +++ b/src/worktree.c @@ -212,7 +212,7 @@ int git_worktree_open_from_repository(git_worktree **out, git_repository *repo) goto out; out: - free(name); + git__free(name); git_buf_free(&parent); return error; |