summaryrefslogtreecommitdiff
path: root/contrib/credential/libsecret/git-credential-libsecret.c
diff options
context:
space:
mode:
authorLibravatar Kevin Willford <kewillf@microsoft.com>2017-08-21 15:24:31 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-21 15:57:02 -0700
commitb50386c7c038ccea8f70d2a66ac78f189240ef05 (patch)
treeeb83302d980c895b1ab5320270371152c04b18d5 /contrib/credential/libsecret/git-credential-libsecret.c
parentperf: add test for writing the index (diff)
downloadtgif-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