diff options
author | Christian Couder <christian.couder@gmail.com> | 2017-03-30 06:22:08 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-30 17:33:31 (GMT) |
commit | c105f563d1b8894af8a7bee68852e45831d55224 (patch) | |
tree | c95f4f5a0970fd03f1a393cbaaea9608c3c6d953 /Documentation/Makefile | |
parent | 7c121788f4c93a29dbec0d61b3cd986a757a5077 (diff) | |
download | git-c105f563d1b8894af8a7bee68852e45831d55224.zip git-c105f563d1b8894af8a7bee68852e45831d55224.tar.gz git-c105f563d1b8894af8a7bee68852e45831d55224.tar.bz2 |
update-index: fix xgetcwd() related memory leak
As xgetcwd() returns an allocated buffer, we should free this
buffer when we don't need it any more.
This was found by Coverity.
Reported-by: Jeff King <peff@peff.net>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/Makefile')
0 files changed, 0 insertions, 0 deletions