Re: [2/2] wininet: Free per-thread error info upon exit from an async procedure.

2009-12-21 Thread Hans Leidekker
On Monday 21 December 2009 13:09:05 Jacek Caban wrote: > You have to set TLS value to NULL otherwise it will crash on next > INTERNET_SetLastError in the same thread on another async call. But the Thanks for catching that. > right way to fix this is to get rid of INTERNET_[GS]etLastError. This

Re: [2/2] wininet: Free per-thread error info upon exit from an async procedure.

2009-12-21 Thread Jacek Caban
Hi Hans. On 12/21/09 11:14 AM, Hans Leidekker wrote: Found by Valgrind. --- dlls/wininet/internet.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index d749e53..2b8d767 100644 --- a/dlls/wininet/internet.c +++ b