Commit 7616b8d3 by Edward Thomson

don't double free pkt

parent 73291aff
...@@ -261,7 +261,7 @@ static int wait_while_ack(gitno_buffer *buf) ...@@ -261,7 +261,7 @@ static int wait_while_ack(gitno_buffer *buf)
(pkt->status != GIT_ACK_CONTINUE || (pkt->status != GIT_ACK_CONTINUE ||
pkt->status != GIT_ACK_COMMON)) { pkt->status != GIT_ACK_COMMON)) {
git__free(pkt); git__free(pkt);
break; return 0;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment