Browse Source

winws: do not close handle twice

pull/193/head
bol-van 10 months ago
parent
commit
f95be5c603
  1. 2
      nfq/nfqws.c

2
nfq/nfqws.c

@ -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…
Cancel
Save