diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2009-12-04 07:31:44 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-03 16:00:20 -0800 |
commit | 53970b92d9dc883669f3a9b79b5e39e73931b331 (patch) | |
tree | 329353c73dd255a5022fb48a9b27156b4d240b11 /ws.c | |
parent | Add Python support library for remote helpers (diff) | |
download | tgif-53970b92d9dc883669f3a9b79b5e39e73931b331.tar.xz |
builtin-push: don't access freed transport->url
Move the failed push message to before transport_disconnect() so that
it doesn't access transport->url after transport has been free()'d (in
transport_disconnect()).
Additionally, make the failed push message more accurate by moving it
before transport_disconnect(), so that it doesn't report errors due
to a failed disconnect.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Acked-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ws.c')
0 files changed, 0 insertions, 0 deletions