diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-05-04 15:56:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 12:18:19 +0900 |
commit | 2d4dcf210e156153a9c1b11bc60d647d5a327624 (patch) | |
tree | 4b84d3f7306f9d197b2fca22ad1e020fdcc30c5e /builtin | |
parent | da6f847559d8794f25da9f7c090929baebce7751 (diff) | |
download | git-2d4dcf210e156153a9c1b11bc60d647d5a327624.tar.gz |
setup_discovered_git_dir(): plug memory leak
The setup_explicit_git_dir() function does not take custody of the string
passed as first parameter; we have to release it if we turned the value of
git_dir into an absolute path.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions