diff options
author | Kevin Willford <kewillf@microsoft.com> | 2017-08-21 15:24:31 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-21 15:57:02 -0700 |
commit | b50386c7c038ccea8f70d2a66ac78f189240ef05 (patch) | |
tree | eb83302d980c895b1ab5320270371152c04b18d5 /contrib/credential/libsecret/git-credential-libsecret.c | |
parent | perf: add test for writing the index (diff) | |
download | tgif-b50386c7c038ccea8f70d2a66ac78f189240ef05.tar.xz |
read-cache: fix memory leak in do_write_index
The previous_name_buf was never getting released when there
was an error in ce_write_entry or allow was false and execution
was returned to the caller.
Signed-off-by: Kevin Willford <kewillf@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/credential/libsecret/git-credential-libsecret.c')
0 files changed, 0 insertions, 0 deletions