don't double free pkt

This commit is contained in:
Edward Thomson 2013-11-05 17:34:45 -06:00
parent 73291aff6e
commit 7616b8d3ce

View File

@ -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;
}
}