mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 18:22:16 +00:00
Merge pull request #2741 from ethomson/fetch-twice
win32: clear connection data on close
This commit is contained in:
commit
792d750bed
@ -1260,6 +1260,7 @@ static int winhttp_close(git_smart_subtransport *subtransport)
|
||||
int ret = 0;
|
||||
|
||||
gitno_connection_data_free_ptrs(&t->connection_data);
|
||||
memset(&t->connection_data, 0x0, sizeof(gitno_connection_data));
|
||||
|
||||
if (t->cred) {
|
||||
t->cred->free(t->cred);
|
||||
|
Loading…
Reference in New Issue
Block a user