author | Daniel Barkalow <barkalow@iabervon.org> | |
Wed, 18 Nov 2009 01:42:21 +0000 (02:42 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 Nov 2009 05:39:58 +0000 (21:39 -0800) | ||
commit | f2a37151d4624906e34a9bcafb2ad79d0e8cb7ec | |
tree | 9e0d14a46079f8a1ef9d94c73144a4d14e6f2e3b | tree | snapshot |
parent | cd0f8e6d63d3e2744d7d3b2329238be7d064a8ea | commit | diff |
Fix memory leak in helper method for disconnect
Since some cases may need to disconnect from the helper and reconnect,
wrap the function that just disconnects in a function that also frees
transport->data.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Since some cases may need to disconnect from the helper and reconnect,
wrap the function that just disconnects in a function that also frees
transport->data.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport-helper.c | diff | blob | history |