Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2019-01-23 00:45:47 +0300
committerJunio C Hamano <gitster@pobox.com>2019-01-24 00:15:58 +0300
commit13019979b811d26f4838d09331c7ddd8223d270d (patch)
tree14e2bd13bf4e4e294a2b90c45f92115f6ca37964 /repository.c
parentecbdaf0899161c067986e9d9d564586d4b045d62 (diff)
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 <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repository.c')
0 files changed, 0 insertions, 0 deletions