Merge pull request #1947 from ethomson/double_free_pkt

don't double free pkt
This commit is contained in:
Vicent Martí 2013-11-05 15:51:53 -08:00
commit e87d9d3d4d

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