Commit 792d750b by Carlos Martín Nieto

Merge pull request #2741 from ethomson/fetch-twice

win32: clear connection data on close
parents 169497d1 70d21742
......@@ -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);
......
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