mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 12:10:53 +03:00
winws: do not close handle twice
This commit is contained in:
parent
fb7fe79022
commit
f95be5c603
@ -1609,7 +1609,7 @@ int main(int argc, char **argv)
|
||||
hMutexArg = CreateMutexA(NULL,TRUE,mutex_name);
|
||||
if (hMutexArg && GetLastError()==ERROR_ALREADY_EXISTS)
|
||||
{
|
||||
CloseHandle(hMutexArg);
|
||||
CloseHandle(hMutexArg); hMutexArg = NULL;
|
||||
printf("A copy of winws is already running with the same filter\n");
|
||||
goto exiterr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user