mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 07:41:43 +00:00
Merge pull request #1947 from ethomson/double_free_pkt
don't double free pkt
This commit is contained in:
commit
e87d9d3d4d
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user