diff options
author | René Scharfe <l.s.r@web.de> | 2014-10-28 21:27:54 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-28 14:55:15 -0700 |
commit | 5d222c099e38bcf329af544ec42ad3dd0644741c (patch) | |
tree | ba50aa729f870dbb5d0dc914843161a363599528 /t/t5515 | |
parent | push: heed user.signingkey for signed pushes (diff) | |
download | tgif-5d222c099e38bcf329af544ec42ad3dd0644741c.tar.xz |
receive-pack: avoid minor leak in case start_async() fails
If the asynchronous start of copy_to_sideband() fails, then any
env_array entries added to struct child_process proc by
prepare_push_cert_sha1() are leaked. Call the latter function only
after start_async() succeeded so that the allocated entries are
cleaned up automatically by start_command() or finish_command().
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515')
0 files changed, 0 insertions, 0 deletions