diff options
author | Jeff King <peff@peff.net> | 2017-09-05 09:04:20 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-06 18:06:26 +0900 |
commit | 6c6b08d26999405a5c67dbabe6f9f232d658fd26 (patch) | |
tree | 443c145aa6eb760a414335640c596945b0ce7cdf /help.c | |
parent | update-index: fix cache entry leak in add_one_file() (diff) | |
download | tgif-6c6b08d26999405a5c67dbabe6f9f232d658fd26.tar.xz |
config: plug user_config leak
We generate filenames for the user_config ("~/.gitconfig")
and the xdg config ("$XDG_CONFIG_HOME/git/config") and then
decide which to use by looking at the filesystem. But after
selecting one, the unused string is just leaked.
This is a tiny leak, but it creates noise in leak-checker
output.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.c')
0 files changed, 0 insertions, 0 deletions