Re: [PATCH try5] wininet: Added support for persistent HTTP connections
9 May
2011
9 May
'11
10:33 a.m.
Jacek Caban <jacek(a)codeweavers.com> writes:
+ FreeLibrary(WININET_hModule); + return ERROR_SUCCESS;
It can still crash here.
+static void delayed_collect_connections(void) +{ + static const WCHAR wininet_dllW[] = {'w','i','n','i','n','e','t','.','d','l','l',0}; + + if(collector_running) + return; + + if(!LoadLibraryW(wininet_dllW)) + return;
You probably don't want that inside the lock. Also GetModuleHandleEx is probably better. -- Alexandre Julliard julliard(a)winehq.org
5421
Age (days ago)
5421
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard