Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup: free old value before setting
work_tree
Before assigning to `data->work_tree` in `read_worktree_config()`, free any value we might already have picked up, so that we do not leak it. Signed-off-by: Martin Ågren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
- Loading branch information