author | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 19 Sep 2007 04:49:42 +0000 (00:49 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 19 Sep 2007 10:22:31 +0000 (03:22 -0700) | ||
commit | f4e95765b042f3e31a8902e78a5101768b33e445 | |
tree | 1bd7da85c736adede0cd986799670ee9f8efc168 | tree | snapshot |
parent | 50ab5fd3fc16fbe01170059977533fa2c7c4d448 | commit | diff |
Fix memory leaks when disconnecting transport instances
Most transport implementations tend to allocate a data buffer
in the struct transport instance during transport_get() so we
need to free that data buffer when we disconnect it.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Most transport implementations tend to allocate a data buffer
in the struct transport instance during transport_get() so we
need to free that data buffer when we disconnect it.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c | diff | blob | history |