wininet: Fix handle leak.

This commit is contained in:
Pierre Schweitzer 2011-12-30 21:55:42 +01:00 committed by Alexandre Julliard
parent 8975ad6e31
commit 85e2b4d7df
1 changed files with 2 additions and 0 deletions

View File

@ -1883,6 +1883,8 @@ static void http_release_netconn(http_request_t *req, BOOL reuse)
if(module)
FreeLibrary(module);
}
else
CloseHandle(thread);
}
return;
}