mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 06:20:56 +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_CONTINUE ||
|
||||||
pkt->status != GIT_ACK_COMMON)) {
|
pkt->status != GIT_ACK_COMMON)) {
|
||||||
git__free(pkt);
|
git__free(pkt);
|
||||||
break;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user