mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 23:14:53 +00:00
[EVENTVWR]
Fix handle leak svn path=/trunk/; revision=54786
This commit is contained in:
parent
3168ab0a08
commit
aa518eae68
|
@ -555,12 +555,12 @@ QueryEventMessages(LPWSTR lpMachineName,
|
|||
/* If we have at least 1000 records show the waiting dialog */
|
||||
if (dwTotalRecords > 1000)
|
||||
{
|
||||
CreateThread(NULL,
|
||||
0,
|
||||
ShowStatusMessageThread,
|
||||
(LPVOID)&hwndDlg,
|
||||
0,
|
||||
NULL);
|
||||
CloseHandle(CreateThread(NULL,
|
||||
0,
|
||||
ShowStatusMessageThread,
|
||||
(LPVOID)&hwndDlg,
|
||||
0,
|
||||
NULL));
|
||||
}
|
||||
|
||||
while (dwCurrentRecord < dwTotalRecords)
|
||||
|
|
Loading…
Reference in a new issue