Commit 70d21742 by Edward Thomson

win32: clear connection data on close

parent 169497d1
...@@ -1260,6 +1260,7 @@ static int winhttp_close(git_smart_subtransport *subtransport) ...@@ -1260,6 +1260,7 @@ static int winhttp_close(git_smart_subtransport *subtransport)
int ret = 0; int ret = 0;
gitno_connection_data_free_ptrs(&t->connection_data); gitno_connection_data_free_ptrs(&t->connection_data);
memset(&t->connection_data, 0x0, sizeof(gitno_connection_data));
if (t->cred) { if (t->cred) {
t->cred->free(t->cred); t->cred->free(t->cred);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment