diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2013-11-06 03:34:45 +0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2013-11-06 03:35:50 +0400 |
commit | 7616b8d3ce8d75b8221aa81f048178ef13c93c05 (patch) | |
tree | f1c86a602b756cc0c4f65d44caed3e864b32ed63 /src/transports | |
parent | 73291aff6e695b13fa738c03cd344491c9ad24b3 (diff) |
don't double free pkt
Diffstat (limited to 'src/transports')
-rw-r--r-- | src/transports/smart_protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/smart_protocol.c b/src/transports/smart_protocol.c index 651901b1b..4e9e112f4 100644 --- a/src/transports/smart_protocol.c +++ b/src/transports/smart_protocol.c @@ -261,7 +261,7 @@ static int wait_while_ack(gitno_buffer *buf) (pkt->status != GIT_ACK_CONTINUE || pkt->status != GIT_ACK_COMMON)) { git__free(pkt); - break; + return 0; } } |